Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001964/0.001964, allocations: 196.5 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.592/1.592, 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 12.0.0-master/package.mo): time 2.847/2.847, allocations: 482.4 MB / 0.755 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 68.22 kB / 0.924 GB, free: 348 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8601, allocations: 162.2 MB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.21/1.07, allocations: 154.6 MB / 1.233 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03021/1.1, allocations: 21.5 MB / 1.254 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/1.102, allocations: 51.69 kB / 1.254 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/1.104, allocations: 1.122 MB / 1.256 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/1.106, allocations: 0.8255 MB / 1.256 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/1.107, allocations: 385.9 kB / 1.257 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001729/1.109, allocations: 1.255 MB / 1.258 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/1.11, allocations: 0.6888 MB / 1.259 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008386/1.111, allocations: 0.5607 MB / 1.259 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/1.112, allocations: 0.9489 MB / 1.26 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/1.112, allocations: 64 kB / 1.26 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/1.113, allocations: 108 kB / 1.26 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000383/1.113, allocations: 344.7 kB / 1.261 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004989/1.113, allocations: 488.8 kB / 1.261 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/1.115, allocations: 0.9317 MB / 1.262 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.115, allocations: 0 / 1.262 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/1.115, allocations: 0 / 1.262 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.581e-05/1.115, allocations: 4 kB / 1.262 GB, free: 6.668 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002613/1.117, allocations: 1.471 MB / 1.263 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.117, allocations: 12.03 kB / 1.263 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/1.118, allocations: 135.2 kB / 1.264 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009401/1.118, allocations: 0.6589 MB / 1.264 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/1.119, allocations: 70.69 kB / 1.264 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.985e-05/1.119, allocations: 51.94 kB / 1.264 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/1.12, allocations: 0.5184 MB / 1.265 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.12, allocations: 0 / 1.265 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/1.12, allocations: 19.98 kB / 1.265 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/1.12, allocations: 12 kB / 1.265 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/1.121, allocations: 415.7 kB / 1.265 GB, free: 3.191 MB / 0.9825 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.004053/1.125, allocations: 2.739 MB / 1.268 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/1.126, allocations: 448 kB / 1.268 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/1.127, allocations: 309.3 kB / 1.269 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/1.127, allocations: 4.656 kB / 1.269 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005969/1.127, allocations: 279.1 kB / 1.269 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.405e-06/1.127, allocations: 4 kB / 1.269 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.002838/1.13, allocations: 1.141 MB / 1.27 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/1.13, allocations: 63.31 kB / 1.27 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/1.133, allocations: 1.76 MB / 1.272 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/1.133, allocations: 37.7 kB / 1.272 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/1.133, allocations: 0.525 MB / 1.272 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/1.133, allocations: 146 kB / 1.273 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/1.134, allocations: 98.23 kB / 1.273 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.134, allocations: 334 kB / 1.273 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/1.134, allocations: 205 kB / 1.273 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/1.135, allocations: 339.1 kB / 1.273 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009923/1.136, allocations: 0.5201 MB / 1.274 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.136, allocations: 7.938 kB / 1.274 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001767/1.138, allocations: 0.8088 MB / 1.275 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/1.138, allocations: 8 kB / 1.275 GB, free: 9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.138, allocations: 4 kB / 1.275 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004527/1.138, allocations: 147.5 kB / 1.275 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/1.139, allocations: 99.88 kB / 1.275 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/1.142, allocations: 2.605 MB / 1.278 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/1.143, allocations: 87.45 kB / 1.278 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/1.143, allocations: 20 kB / 1.278 GB, free: 5.906 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005879/1.143, allocations: 392.1 kB / 1.278 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.144, allocations: 114.5 kB / 1.278 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/1.144, allocations: 147.7 kB / 1.278 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.144, allocations: 4 kB / 1.278 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/1.144, allocations: 8 kB / 1.278 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.144, allocations: 3.984 kB / 1.278 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/1.146, allocations: 1.488 MB / 1.28 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.147, allocations: 3.938 kB / 1.28 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/1.147, allocations: 47.97 kB / 1.28 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/1.147, allocations: 165.6 kB / 1.28 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/1.147, allocations: 11.98 kB / 1.28 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005377/1.153, allocations: 4.018 MB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.153, allocations: 3.938 kB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/1.155, allocations: 0.9871 MB / 1.285 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004122/1.155, allocations: 211.5 kB / 1.285 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.155, allocations: 19.98 kB / 1.285 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/1.156, allocations: 35.97 kB / 1.285 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/1.156, allocations: 47.92 kB / 1.285 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/1.156, allocations: 27.92 kB / 1.285 GB, free: 13.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001766/1.158, allocations: 1.285 MB / 1.286 GB, free: 12.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.158, allocations: 4 kB / 1.286 GB, free: 12.51 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009333/1.159, allocations: 195.7 kB / 1.287 GB, free: 12.32 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00183/1.161, allocations: 482 kB / 1.287 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.162, allocations: 0.6936 MB / 1.288 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.162, allocations: 0 / 1.288 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009386/1.163, allocations: 0.5247 MB / 1.288 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/1.164, allocations: 203.3 kB / 1.288 GB, free: 10.58 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/1.169, allocations: 2.749 MB / 1.291 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009341/1.17, allocations: 1.142 MB / 1.292 GB, free: 6.617 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/1.17, allocations: 47.42 kB / 1.292 GB, free: 6.57 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/1.17, allocations: 4 kB / 1.292 GB, free: 6.566 MB / 1.014 GB Notification: Performance of Templates: time 0.02842/1.199, allocations: 17.81 MB / 1.31 GB, free: 4.793 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches