Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008059/0.00806, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001809/0.001809, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.368/1.368, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.75 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3375, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1895/0.527, allocations: 174.2 MB / 1.223 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.5421, allocations: 10.93 MB / 1.234 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.544, allocations: 31.81 kB / 1.234 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.5454, allocations: 325.8 kB / 1.234 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003489/0.5489, allocations: 0.9858 MB / 1.235 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.5533, allocations: 1.535 MB / 1.236 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003757/0.5571, allocations: 2.665 MB / 1.239 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.5592, allocations: 1.274 MB / 1.24 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.563, allocations: 1.127 MB / 1.241 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.5642, allocations: 0.7895 MB / 1.242 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.5644, allocations: 76 kB / 1.242 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.5673, allocations: 1.462 MB / 1.244 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003786/0.5677, allocations: 374.7 kB / 1.244 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008011/0.5685, allocations: 0.711 MB / 1.245 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.5711, allocations: 1.883 MB / 1.246 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5711, allocations: 0 / 1.246 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5711, allocations: 0 / 1.246 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.741e-05/0.5711, allocations: 0 / 1.246 GB, free: 1.137 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.6521/1.223, allocations: 1.888 MB / 1.248 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.223, allocations: 9.5 kB / 1.248 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/1.226, allocations: 351.9 kB / 1.249 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/1.228, allocations: 0.9486 MB / 1.25 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.78e-05/1.228, allocations: 90.91 kB / 1.25 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/1.228, allocations: 115.3 kB / 1.25 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/1.231, allocations: 1.298 MB / 1.251 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/1.231, allocations: 0.875 kB / 1.251 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/1.231, allocations: 54.12 kB / 1.251 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/1.231, allocations: 28.88 kB / 1.251 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/1.233, allocations: 1.454 MB / 1.253 GB, free: 194.1 MB / 0.9981 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.006535/1.24, allocations: 4.052 MB / 1.257 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/1.242, allocations: 1.204 MB / 1.258 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007513/1.243, allocations: 456.4 kB / 1.258 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/1.243, allocations: 431.5 kB / 1.259 GB, free: 192 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/1.245, allocations: 0.6577 MB / 1.259 GB, free: 192 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 2.695e-06/1.245, allocations: 0 / 1.259 GB, free: 192 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106): time 0.004084/1.249, allocations: 1.604 MB / 1.261 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/1.249, allocations: 193.2 kB / 1.261 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/1.25, allocations: 0.8817 MB / 1.262 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.821e-05/1.25, allocations: 51.05 kB / 1.262 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/1.251, allocations: 0.5114 MB / 1.262 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/1.251, allocations: 360.4 kB / 1.263 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/1.251, allocations: 212.5 kB / 1.263 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.251, allocations: 346.3 kB / 1.263 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00087/1.252, allocations: 380.4 kB / 1.264 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/1.253, allocations: 0.5106 MB / 1.264 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/1.255, allocations: 0.872 MB / 1.265 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.255, allocations: 0.8438 kB / 1.265 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003169/1.259, allocations: 1.166 MB / 1.266 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.259, allocations: 9.031 kB / 1.266 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.259, allocations: 3.875 kB / 1.266 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006745/1.259, allocations: 81.66 kB / 1.266 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/1.26, allocations: 234.5 kB / 1.266 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/1.262, allocations: 1.536 MB / 1.268 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.264, allocations: 138.8 kB / 1.268 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/1.264, allocations: 47.53 kB / 1.268 GB, free: 188.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007656/1.265, allocations: 324.9 kB / 1.268 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/1.265, allocations: 119.6 kB / 1.268 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/1.269, allocations: 1.507 MB / 1.27 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.269, allocations: 15.84 kB / 1.27 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.269, allocations: 0.7031 kB / 1.27 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/1.269, allocations: 6.422 kB / 1.27 GB, free: 188.6 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.006012/1.275, allocations: 2.839 MB / 1.273 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.275, allocations: 2.828 kB / 1.273 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009474/1.276, allocations: 197.4 kB / 1.273 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/1.276, allocations: 84.98 kB / 1.273 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.725e-05/1.276, allocations: 34.88 kB / 1.273 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/1.278, allocations: 1.576 MB / 1.275 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.278, allocations: 2.875 kB / 1.275 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/1.282, allocations: 1.863 MB / 1.276 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007678/1.283, allocations: 339.2 kB / 1.277 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/1.283, allocations: 26.56 kB / 1.277 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009589/1.284, allocations: 84.45 kB / 1.277 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/1.284, allocations: 93.27 kB / 1.277 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.284, allocations: 47.3 kB / 1.277 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001007/1.285, allocations: 0.6287 MB / 1.278 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.285, allocations: 1.125 kB / 1.278 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00156/1.287, allocations: 457.1 kB / 1.278 GB, free: 184.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001831/1.289, allocations: 0.7089 MB / 1.279 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002587/1.291, allocations: 1.091 MB / 1.28 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.291, allocations: 1.438 kB / 1.28 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.292, allocations: 0.6492 MB / 1.28 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/1.295, allocations: 0.4903 MB / 1.281 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/1.3, allocations: 2.978 MB / 1.284 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007958/1.301, allocations: 1.159 MB / 1.285 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006467/1.301, allocations: 150.5 kB / 1.285 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.114e-06/1.301, allocations: 0 / 1.285 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.04191/1.343, allocations: 26.85 MB / 1.311 GB, free: 159.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches