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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001605/0.001605, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 195 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.735/2.735, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.67 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3068, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.189/0.4959, allocations: 176.5 MB / 1.241 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6693/1.165, allocations: 10.89 MB / 1.251 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/1.167, allocations: 30.38 kB / 1.251 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/1.169, allocations: 416 kB / 1.252 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/1.172, allocations: 1.093 MB / 1.253 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005127/1.177, allocations: 1.711 MB / 1.254 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00352/1.181, allocations: 2.366 MB / 1.257 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/1.183, allocations: 1.408 MB / 1.258 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003457/1.187, allocations: 1.257 MB / 1.259 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/1.188, allocations: 0.8088 MB / 1.26 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/1.188, allocations: 154.3 kB / 1.26 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/1.191, allocations: 1.386 MB / 1.262 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004818/1.191, allocations: 452.4 kB / 1.262 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009245/1.192, allocations: 0.7813 MB / 1.263 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004211/1.196, allocations: 2.532 MB / 1.265 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.196, allocations: 1.031 kB / 1.265 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.196, allocations: 0 / 1.265 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.977e-05/1.197, allocations: 0 / 1.265 GB, free: 5.465 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.003664/1.2, allocations: 1.889 MB / 1.267 GB, free: 20.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.2, allocations: 11.08 kB / 1.267 GB, free: 20.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/1.202, allocations: 351.3 kB / 1.267 GB, free: 20.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/1.204, allocations: 0.9449 MB / 1.268 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/1.204, allocations: 95.58 kB / 1.268 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/1.204, allocations: 112.2 kB / 1.269 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/1.206, allocations: 1.297 MB / 1.27 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.207, allocations: 4.062 kB / 1.27 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/1.207, allocations: 53.92 kB / 1.27 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/1.207, allocations: 31.12 kB / 1.27 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/1.209, allocations: 1.454 MB / 1.271 GB, free: 19.89 MB / 1.014 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.007297/1.217, allocations: 4.063 MB / 1.275 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/1.219, allocations: 1.216 MB / 1.277 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008327/1.22, allocations: 455.5 kB / 1.277 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/1.221, allocations: 426.1 kB / 1.277 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/1.222, allocations: 0.6544 MB / 1.278 GB, free: 17.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 2.955e-06/1.222, allocations: 2.938 kB / 1.278 GB, free: 17.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=106): time 0.004342/1.227, allocations: 1.608 MB / 1.28 GB, free: 17.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.909e-05/1.227, allocations: 193.6 kB / 1.28 GB, free: 17.37 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/1.228, allocations: 0.8874 MB / 1.281 GB, free: 17.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/1.228, allocations: 45.61 kB / 1.281 GB, free: 17.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/1.229, allocations: 0.5177 MB / 1.281 GB, free: 16.97 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/1.229, allocations: 356 kB / 1.281 GB, free: 16.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/1.229, allocations: 214.8 kB / 1.282 GB, free: 16.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.229, allocations: 341.5 kB / 1.282 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007289/1.23, allocations: 382.2 kB / 1.282 GB, free: 16.42 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/1.231, allocations: 0.5099 MB / 1.283 GB, free: 16.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/1.232, allocations: 0.8683 MB / 1.284 GB, free: 16.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.232, allocations: 0 / 1.284 GB, free: 16.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002657/1.235, allocations: 1.165 MB / 1.285 GB, free: 16.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.235, allocations: 6.797 kB / 1.285 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.235, allocations: 2.312 kB / 1.285 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/1.236, allocations: 91.48 kB / 1.285 GB, free: 16.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.237, allocations: 229 kB / 1.285 GB, free: 16.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/1.239, allocations: 1.643 MB / 1.287 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.24, allocations: 133 kB / 1.287 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.24, allocations: 49.3 kB / 1.287 GB, free: 14.71 MB / 1.014 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.0008163/1.241, allocations: 331.7 kB / 1.287 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/1.241, allocations: 116.4 kB / 1.287 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/1.245, allocations: 1.513 MB / 1.289 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.245, allocations: 12.75 kB / 1.289 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.245, allocations: 0 / 1.289 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/1.245, allocations: 6.562 kB / 1.289 GB, free: 14.4 MB / 1.014 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.004985/1.25, allocations: 2.832 MB / 1.292 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.25, allocations: 2.312 kB / 1.292 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009299/1.251, allocations: 208.5 kB / 1.292 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/1.251, allocations: 71.08 kB / 1.292 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/1.251, allocations: 39.23 kB / 1.292 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/1.253, allocations: 1.674 MB / 1.294 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.253, allocations: 1.75 kB / 1.294 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/1.257, allocations: 1.867 MB / 1.295 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007749/1.258, allocations: 343.6 kB / 1.296 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/1.258, allocations: 35.31 kB / 1.296 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009157/1.259, allocations: 71.52 kB / 1.296 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/1.259, allocations: 85.27 kB / 1.296 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.259, allocations: 50.09 kB / 1.296 GB, free: 11.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000955/1.26, allocations: 0.6258 MB / 1.297 GB, free: 11.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.26, allocations: 0 / 1.297 GB, free: 11.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001648/1.262, allocations: 460.1 kB / 1.297 GB, free: 11.78 MB / 1.014 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.00165/1.264, allocations: 0.7089 MB / 1.298 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003236/1.267, allocations: 1.366 MB / 1.299 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/1.267, allocations: 7.344 kB / 1.299 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/1.268, allocations: 0.6643 MB / 1.3 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.27, allocations: 0.5211 MB / 1.3 GB, free: 11.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/1.275, allocations: 2.41 MB / 1.303 GB, free: 10.31 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/1.275, allocations: 1.163 MB / 1.304 GB, free: 9.586 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001299/1.277, allocations: 371.7 kB / 1.304 GB, free: 9.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/1.277, allocations: 133.9 kB / 1.304 GB, free: 9.473 MB / 1.014 GB Notification: Performance of SimCode: time 8.12e-07/1.277, allocations: 0 / 1.304 GB, free: 9.473 MB / 1.014 GB Notification: Performance of Templates: time 0.03917/1.316, allocations: 23.83 MB / 1.327 GB, free: 4.293 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches