Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_10_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_10_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.001746/0.001746, allocations: 110.5 kB / 15.99 MB, free: 6.348 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.001538/0.001538, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.512/2.512, allocations: 437 MB / 0.7107 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 71.98 kB / 0.8694 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3279, allocations: 151.6 MB / 1.017 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7342/1.062, allocations: 174.2 MB / 1.188 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01668/1.079, allocations: 10.77 MB / 1.198 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/1.081, allocations: 29.72 kB / 1.198 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/1.082, allocations: 339.7 kB / 1.198 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003816/1.086, allocations: 0.9908 MB / 1.199 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004869/1.091, allocations: 1.564 MB / 1.201 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00372/1.095, allocations: 2.377 MB / 1.203 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/1.097, allocations: 1.399 MB / 1.205 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004419/1.101, allocations: 1.261 MB / 1.206 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/1.103, allocations: 0.8281 MB / 1.207 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/1.103, allocations: 155.7 kB / 1.207 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/1.106, allocations: 1.416 MB / 1.208 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005339/1.107, allocations: 456.4 kB / 1.209 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/1.108, allocations: 0.787 MB / 1.209 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003103/1.111, allocations: 1.901 MB / 1.211 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.111, allocations: 0 / 1.211 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.703e-06/1.111, allocations: 0 / 1.211 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.99e-05/1.111, allocations: 0 / 1.211 GB, free: 1.605 MB / 0.9044 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.00373/1.115, allocations: 1.889 MB / 1.213 GB, free: 172 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.115, allocations: 10.98 kB / 1.213 GB, free: 172 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002269/1.117, allocations: 350.4 kB / 1.213 GB, free: 8 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/1.119, allocations: 0.9515 MB / 1.214 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.953e-05/1.119, allocations: 88.86 kB / 1.214 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/1.12, allocations: 115.4 kB / 1.215 GB, free: 15.17 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/1.122, allocations: 1.301 MB / 1.216 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/1.122, allocations: 2.75 kB / 1.216 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/1.122, allocations: 46.09 kB / 1.216 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/1.122, allocations: 33.45 kB / 1.216 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/1.125, allocations: 1.45 MB / 1.217 GB, free: 13.01 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.007265/1.132, allocations: 4.057 MB / 1.221 GB, free: 8.746 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/1.135, allocations: 1.211 MB / 1.222 GB, free: 7.516 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008401/1.135, allocations: 453.7 kB / 1.223 GB, free: 7.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008398/1.136, allocations: 425.3 kB / 1.223 GB, free: 6.578 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/1.138, allocations: 0.6606 MB / 1.224 GB, free: 5.902 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 6.352e-06/1.138, allocations: 0 / 1.224 GB, free: 5.902 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.004481/1.142, allocations: 1.606 MB / 1.226 GB, free: 4.266 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/1.142, allocations: 192.9 kB / 1.226 GB, free: 4.035 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/1.144, allocations: 0.8863 MB / 1.227 GB, free: 3.125 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/1.144, allocations: 49.64 kB / 1.227 GB, free: 3.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/1.144, allocations: 0.5199 MB / 1.227 GB, free: 2.543 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/1.145, allocations: 350.9 kB / 1.227 GB, free: 2.195 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003743/1.145, allocations: 210.8 kB / 1.228 GB, free: 1.984 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.145, allocations: 353.8 kB / 1.228 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008106/1.146, allocations: 382.4 kB / 1.228 GB, free: 1.258 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/1.147, allocations: 0.5066 MB / 1.229 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/1.149, allocations: 0.8719 MB / 1.23 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.149, allocations: 0 / 1.23 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002981/1.152, allocations: 1.17 MB / 1.231 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.152, allocations: 10.48 kB / 1.231 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.152, allocations: 4 kB / 1.231 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/1.153, allocations: 80.88 kB / 1.231 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.154, allocations: 231.7 kB / 1.231 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/1.156, allocations: 1.647 MB / 1.233 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.158, allocations: 135.2 kB / 1.233 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.158, allocations: 60.44 kB / 1.233 GB, free: 12.35 MB / 0.9356 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.0007045/1.158, allocations: 324.4 kB / 1.233 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/1.159, allocations: 122.5 kB / 1.233 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/1.162, allocations: 1.506 MB / 1.235 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.162, allocations: 12 kB / 1.235 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.162, allocations: 0 / 1.235 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.162, allocations: 7.984 kB / 1.235 GB, free: 10.36 MB / 0.9356 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.005574/1.168, allocations: 2.835 MB / 1.238 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.168, allocations: 8.031 kB / 1.238 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/1.169, allocations: 199.7 kB / 1.238 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/1.169, allocations: 76.78 kB / 1.238 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.17, allocations: 31.98 kB / 1.238 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/1.172, allocations: 1.681 MB / 1.24 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.172, allocations: 7.938 kB / 1.24 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00409/1.176, allocations: 1.864 MB / 1.241 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/1.177, allocations: 343.2 kB / 1.242 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/1.177, allocations: 24 kB / 1.242 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.178, allocations: 87.91 kB / 1.242 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/1.178, allocations: 88.81 kB / 1.242 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.178, allocations: 51.97 kB / 1.242 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001022/1.179, allocations: 0.6222 MB / 1.243 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/1.179, allocations: 0 / 1.243 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001434/1.181, allocations: 467 kB / 1.243 GB, free: 1.676 MB / 0.9356 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.002242/1.183, allocations: 0.703 MB / 1.244 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00369/1.187, allocations: 1.362 MB / 1.245 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/1.187, allocations: 4 kB / 1.245 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/1.188, allocations: 0.6606 MB / 1.246 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/1.191, allocations: 0.5316 MB / 1.246 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/1.196, allocations: 2.979 MB / 1.249 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/1.197, allocations: 1.158 MB / 1.25 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006107/1.198, allocations: 151.4 kB / 1.25 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of SimCode: time 7.31e-07/1.198, allocations: 0 / 1.25 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.04327/1.241, allocations: 26.85 MB / 1.277 GB, free: 15.51 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches