Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008517/0.008517, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001954/0.001954, allocations: 191.7 kB / 16.67 MB, free: 5.938 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7453 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 56.12 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.338, allocations: 159.9 MB / 1.226 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006439/0.3445, allocations: 4.941 MB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.848/1.192, allocations: 150.6 MB / 1.377 GB, free: 5.395 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007823/1.193, allocations: 14.94 kB / 1.377 GB, free: 5.391 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005229/1.194, allocations: 194.1 kB / 1.378 GB, free: 5.266 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/1.195, allocations: 0.5459 MB / 1.378 GB, free: 4.953 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/1.197, allocations: 0.8217 MB / 1.379 GB, free: 4.531 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001379/1.199, allocations: 1.369 MB / 1.38 GB, free: 3.824 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008032/1.199, allocations: 0.5849 MB / 1.381 GB, free: 3.508 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006182/1.2, allocations: 479.1 kB / 1.381 GB, free: 3.273 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005429/1.201, allocations: 0.4933 MB / 1.382 GB, free: 3.012 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/1.201, allocations: 114.3 kB / 1.382 GB, free: 3.012 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009636/1.202, allocations: 483.6 kB / 1.382 GB, free: 2.895 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002593/1.202, allocations: 293.1 kB / 1.383 GB, free: 2.699 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004588/1.202, allocations: 0.552 MB / 1.383 GB, free: 2.293 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002063/1.205, allocations: 1.623 MB / 1.385 GB, free: 1.129 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.205, allocations: 0 / 1.385 GB, free: 1.129 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.492e-06/1.205, allocations: 3.938 kB / 1.385 GB, free: 1.125 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.672e-05/1.205, allocations: 5.375 kB / 1.385 GB, free: 1.121 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002379/1.207, allocations: 1.456 MB / 1.386 GB, free: 15.96 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.207, allocations: 9.656 kB / 1.386 GB, free: 15.96 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000878/1.208, allocations: 191.6 kB / 1.386 GB, free: 15.87 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/1.209, allocations: 0.7645 MB / 1.387 GB, free: 15.24 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/1.209, allocations: 64.5 kB / 1.387 GB, free: 15.21 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/1.209, allocations: 80.52 kB / 1.387 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/1.211, allocations: 0.9077 MB / 1.388 GB, free: 14.59 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.211, allocations: 1.5 kB / 1.388 GB, free: 14.59 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/1.211, allocations: 40.64 kB / 1.388 GB, free: 14.56 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/1.211, allocations: 21.56 kB / 1.388 GB, free: 14.56 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/1.213, allocations: 1.093 MB / 1.389 GB, free: 14.04 MB / 1.092 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.003926/1.217, allocations: 2.742 MB / 1.392 GB, free: 11.82 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/1.218, allocations: 0.7866 MB / 1.393 GB, free: 11.42 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005239/1.219, allocations: 297.8 kB / 1.393 GB, free: 11.27 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/1.219, allocations: 27.16 kB / 1.393 GB, free: 11.26 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008312/1.219, allocations: 497.1 kB / 1.394 GB, free: 10.94 MB / 1.092 GB Notification: Performance of pre-optimization done (n=78): time 2.345e-06/1.22, allocations: 0 / 1.394 GB, free: 10.94 MB / 1.092 GB Notification: Performance of matching and sorting (n=78): time 0.003148/1.223, allocations: 1.177 MB / 1.395 GB, free: 10.3 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/1.223, allocations: 193.2 kB / 1.395 GB, free: 10.08 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008368/1.224, allocations: 0.6385 MB / 1.396 GB, free: 9.703 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/1.224, allocations: 43.11 kB / 1.396 GB, free: 9.66 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/1.224, allocations: 400.9 kB / 1.396 GB, free: 9.309 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/1.224, allocations: 269.3 kB / 1.396 GB, free: 9.074 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/1.224, allocations: 163 kB / 1.396 GB, free: 8.977 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.225, allocations: 393.5 kB / 1.397 GB, free: 8.602 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/1.225, allocations: 264.8 kB / 1.397 GB, free: 8.473 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/1.226, allocations: 363.4 kB / 1.397 GB, free: 8.258 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/1.227, allocations: 0.6067 MB / 1.398 GB, free: 7.926 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.227, allocations: 0 / 1.398 GB, free: 7.926 MB / 1.092 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001958/1.229, allocations: 0.845 MB / 1.399 GB, free: 7.488 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.229, allocations: 5.5 kB / 1.399 GB, free: 7.488 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.229, allocations: 9.422 kB / 1.399 GB, free: 7.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/1.23, allocations: 80.78 kB / 1.399 GB, free: 7.441 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/1.23, allocations: 165.7 kB / 1.399 GB, free: 7.398 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/1.232, allocations: 1.624 MB / 1.401 GB, free: 5.801 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/1.233, allocations: 101.7 kB / 1.401 GB, free: 5.734 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/1.233, allocations: 35.06 kB / 1.401 GB, free: 5.723 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0005424/1.234, allocations: 268.2 kB / 1.401 GB, free: 5.508 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/1.234, allocations: 88.62 kB / 1.401 GB, free: 5.461 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/1.236, allocations: 1.045 MB / 1.402 GB, free: 4.871 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.236, allocations: 14.19 kB / 1.402 GB, free: 4.867 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.236, allocations: 0 / 1.402 GB, free: 4.867 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/1.236, allocations: 7.922 kB / 1.402 GB, free: 4.859 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/1.238, allocations: 0.8788 MB / 1.403 GB, free: 4.191 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.238, allocations: 0 / 1.403 GB, free: 4.191 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/1.238, allocations: 143.3 kB / 1.403 GB, free: 4.156 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/1.239, allocations: 73.97 kB / 1.403 GB, free: 4.117 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/1.239, allocations: 23.89 kB / 1.403 GB, free: 4.102 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/1.241, allocations: 1.665 MB / 1.405 GB, free: 2.48 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.241, allocations: 5.062 kB / 1.405 GB, free: 2.477 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/1.243, allocations: 0.9158 MB / 1.406 GB, free: 1.98 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/1.244, allocations: 268.2 kB / 1.406 GB, free: 1.746 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/1.244, allocations: 22.44 kB / 1.406 GB, free: 1.73 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007702/1.245, allocations: 61.25 kB / 1.406 GB, free: 1.699 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/1.245, allocations: 77.14 kB / 1.406 GB, free: 1.656 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-05/1.245, allocations: 31.42 kB / 1.406 GB, free: 1.648 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009713/1.246, allocations: 463.1 kB / 1.407 GB, free: 1.387 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/1.246, allocations: 0 / 1.407 GB, free: 1.387 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0012/1.247, allocations: 335.2 kB / 1.407 GB, free: 1.281 MB / 1.092 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * 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.00163/1.249, allocations: 0.6004 MB / 1.407 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00206/1.251, allocations: 0.8183 MB / 1.408 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/1.251, allocations: 0 / 1.408 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.252, allocations: 0.5066 MB / 1.409 GB, free: 284 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.253, allocations: 310.4 kB / 1.409 GB, free: 124 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/1.257, allocations: 1.683 MB / 1.411 GB, free: 15.12 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/1.257, allocations: 1.019 MB / 1.412 GB, free: 14.28 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008348/1.258, allocations: 256.4 kB / 1.412 GB, free: 14.16 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/1.258, allocations: 110.2 kB / 1.412 GB, free: 14.12 MB / 1.107 GB Notification: Performance of SimCode: time 1.012e-06/1.258, allocations: 0 / 1.412 GB, free: 14.12 MB / 1.107 GB Notification: Performance of Templates: time 0.02726/1.286, allocations: 15.14 MB / 1.427 GB, free: 15.78 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches