Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 105.7 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 59.97 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3002, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7085/1.009, allocations: 168.3 MB / 1.182 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02493/1.034, allocations: 17.06 MB / 1.199 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/1.036, allocations: 30.12 kB / 1.199 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001961/1.038, allocations: 0.5444 MB / 1.2 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005456/1.043, allocations: 1.614 MB / 1.201 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/1.047, allocations: 1.328 MB / 1.202 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004375/1.052, allocations: 2.685 MB / 1.205 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/1.055, allocations: 1.874 MB / 1.207 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/1.059, allocations: 1.348 MB / 1.208 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/1.061, allocations: 0.9859 MB / 1.209 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006657/1.062, allocations: 210.1 kB / 1.209 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/1.065, allocations: 1.396 MB / 1.211 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008946/1.066, allocations: 0.5543 MB / 1.211 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002241/1.069, allocations: 1.032 MB / 1.212 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005668/1.074, allocations: 3.056 MB / 1.215 GB, free: 14.47 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.074, allocations: 0 / 1.215 GB, free: 14.47 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/1.074, allocations: 0 / 1.215 GB, free: 14.47 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001945/1.075, allocations: 0 / 1.215 GB, free: 14.47 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005501/1.08, allocations: 2.282 MB / 1.217 GB, free: 12.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/1.08, allocations: 10.12 kB / 1.217 GB, free: 12.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/1.084, allocations: 0.5023 MB / 1.218 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/1.086, allocations: 1.08 MB / 1.219 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/1.086, allocations: 131.3 kB / 1.219 GB, free: 11.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/1.087, allocations: 164 kB / 1.219 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/1.09, allocations: 1.851 MB / 1.221 GB, free: 9.344 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/1.091, allocations: 0 / 1.221 GB, free: 9.344 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/1.091, allocations: 72 kB / 1.221 GB, free: 9.273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/1.091, allocations: 47.94 kB / 1.221 GB, free: 9.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/1.095, allocations: 1.871 MB / 1.223 GB, free: 7.352 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009633/1.104, allocations: 5.576 MB / 1.228 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/1.108, allocations: 1.77 MB / 1.23 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/1.109, allocations: 0.652 MB / 1.231 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009232/1.11, allocations: 0.8116 MB / 1.232 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/1.112, allocations: 0.8918 MB / 1.233 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 4.729e-06/1.112, allocations: 0 / 1.233 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.006631/1.118, allocations: 2.548 MB / 1.235 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.119, allocations: 205.2 kB / 1.235 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/1.12, allocations: 0.8345 MB / 1.236 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/1.12, allocations: 57.7 kB / 1.236 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005956/1.121, allocations: 0.6329 MB / 1.237 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005173/1.121, allocations: 492.9 kB / 1.237 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004848/1.122, allocations: 250.8 kB / 1.237 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.122, allocations: 357.9 kB / 1.238 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/1.123, allocations: 494.3 kB / 1.238 GB, free: 7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/1.124, allocations: 0.6423 MB / 1.239 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/1.127, allocations: 1.118 MB / 1.24 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.127, allocations: 4 kB / 1.24 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003777/1.131, allocations: 1.55 MB / 1.241 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.131, allocations: 8.094 kB / 1.241 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.131, allocations: 7.938 kB / 1.241 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009344/1.132, allocations: 184.1 kB / 1.242 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.133, allocations: 347.5 kB / 1.242 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006298/1.14, allocations: 7.288 MB / 1.249 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/1.141, allocations: 150.8 kB / 1.249 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/1.142, allocations: 55.97 kB / 1.249 GB, free: 10.88 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001165/1.143, allocations: 373 kB / 1.25 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006133/1.143, allocations: 130.5 kB / 1.25 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004742/1.148, allocations: 1.858 MB / 1.252 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/1.148, allocations: 16 kB / 1.252 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/1.148, allocations: 0 / 1.252 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/1.148, allocations: 7.969 kB / 1.252 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/1.155, allocations: 3.435 MB / 1.255 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/1.155, allocations: 3.984 kB / 1.255 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.157, allocations: 315.5 kB / 1.255 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007657/1.157, allocations: 184.1 kB / 1.255 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/1.158, allocations: 47.95 kB / 1.255 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005873/1.163, allocations: 7.326 MB / 1.263 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.163, allocations: 0 / 1.263 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/1.168, allocations: 1.707 MB / 1.264 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009143/1.169, allocations: 391 kB / 1.265 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/1.169, allocations: 35.94 kB / 1.265 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.171, allocations: 101.8 kB / 1.265 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/1.171, allocations: 109.2 kB / 1.265 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/1.171, allocations: 75.94 kB / 1.265 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009799/1.172, allocations: 0.5784 MB / 1.266 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.172, allocations: 0 / 1.266 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001913/1.174, allocations: 0.6039 MB / 1.266 GB, free: 8.715 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001941/1.176, allocations: 0.7204 MB / 1.267 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005577/1.182, allocations: 2.309 MB / 1.269 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.182, allocations: 4.562 kB / 1.269 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/1.184, allocations: 1.301 MB / 1.27 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/1.187, allocations: 0.5297 MB / 1.271 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/1.193, allocations: 2.867 MB / 1.274 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/1.194, allocations: 1.3 MB / 1.275 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007423/1.195, allocations: 175.3 kB / 1.275 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/1.195, allocations: 0 / 1.275 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.06488/1.26, allocations: 57.59 MB / 1.331 GB, free: 5.938 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches