Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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_9_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_9_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.000823/0.0008231, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008305/0.0008305, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.61/0.6103, allocations: 142.4 MB / 0.9544 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1476/0.758, allocations: 142.2 MB / 1.093 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02148/0.7795, allocations: 20.24 MB / 1.113 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.7806, allocations: 47.69 kB / 1.113 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.782, allocations: 1.107 MB / 1.114 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.7832, allocations: 0.7786 MB / 1.115 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.784, allocations: 326.4 kB / 1.115 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.7851, allocations: 1.181 MB / 1.116 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005537/0.7857, allocations: 0.5026 MB / 1.117 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004956/0.7862, allocations: 474.4 kB / 1.117 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008377/0.787, allocations: 0.7772 MB / 1.118 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.7871, allocations: 35.94 kB / 1.118 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.7873, allocations: 63.98 kB / 1.118 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.7876, allocations: 287 kB / 1.118 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.7877, allocations: 209.1 kB / 1.119 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000768/0.7885, allocations: 0.8924 MB / 1.12 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7885, allocations: 0 / 1.12 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.947e-06/0.7885, allocations: 0 / 1.12 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.7885, allocations: 3.938 kB / 1.12 GB, free: 6.035 MB / 0.8731 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.001794/0.7903, allocations: 1.327 MB / 1.121 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.7904, allocations: 8.031 kB / 1.121 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.7905, allocations: 142.3 kB / 1.121 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007305/0.7913, allocations: 0.6089 MB / 1.122 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.7914, allocations: 78.69 kB / 1.122 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.7915, allocations: 51.94 kB / 1.122 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008841/0.7924, allocations: 0.5262 MB / 1.122 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.7924, allocations: 0 / 1.122 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.7925, allocations: 16 kB / 1.122 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.7925, allocations: 15.95 kB / 1.122 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.7933, allocations: 435.7 kB / 1.123 GB, free: 2.715 MB / 0.8731 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.00316/0.7965, allocations: 2.771 MB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008777/0.7974, allocations: 456.2 kB / 1.126 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.798, allocations: 313.3 kB / 1.126 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.798, allocations: 8.312 kB / 1.126 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005303/0.7985, allocations: 300 kB / 1.126 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 1.894e-06/0.7985, allocations: 0 / 1.126 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.002437/0.801, allocations: 1.167 MB / 1.128 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.801, allocations: 59.36 kB / 1.128 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.8029, allocations: 1.776 MB / 1.129 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.803, allocations: 33.7 kB / 1.129 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.8034, allocations: 0.5287 MB / 1.13 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.8035, allocations: 150 kB / 1.13 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.8035, allocations: 12 kB / 1.13 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8037, allocations: 326 kB / 1.13 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.8041, allocations: 229 kB / 1.131 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005651/0.8047, allocations: 351.2 kB / 1.131 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.8052, allocations: 261.9 kB / 1.131 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.8053, allocations: 7.938 kB / 1.131 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001523/0.8068, allocations: 0.8401 MB / 1.132 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.8068, allocations: 8 kB / 1.132 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.8068, allocations: 4 kB / 1.132 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.8072, allocations: 138.3 kB / 1.132 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.8076, allocations: 115.8 kB / 1.132 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.8102, allocations: 2.384 MB / 1.135 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.8107, allocations: 95.45 kB / 1.135 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.8107, allocations: 23.98 kB / 1.135 GB, free: 5.879 MB / 0.8887 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004498/0.8112, allocations: 385.1 kB / 1.135 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.8113, allocations: 110.6 kB / 1.135 GB, free: 5.387 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.8115, allocations: 147.7 kB / 1.135 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.8115, allocations: 4 kB / 1.135 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.8115, allocations: 7.953 kB / 1.135 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.8115, allocations: 3.984 kB / 1.135 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.8137, allocations: 1.509 MB / 1.137 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8138, allocations: 3.938 kB / 1.137 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.814, allocations: 47.91 kB / 1.137 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003788/0.8144, allocations: 166.6 kB / 1.137 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.8144, allocations: 15.98 kB / 1.137 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.8177, allocations: 3.696 MB / 1.141 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8178, allocations: 0 / 1.141 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.8194, allocations: 1.002 MB / 1.142 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.8196, allocations: 219.8 kB / 1.142 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/0.8197, allocations: 15.95 kB / 1.142 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.82, allocations: 51.89 kB / 1.142 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.8202, allocations: 56.02 kB / 1.142 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.8202, allocations: 12 kB / 1.142 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001405/0.8216, allocations: 1.289 MB / 1.143 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8216, allocations: 4 kB / 1.143 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000757/0.8224, allocations: 195.8 kB / 1.143 GB, free: 12.58 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.8235, allocations: 498.8 kB / 1.144 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.8249, allocations: 0.6839 MB / 1.145 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.825, allocations: 0 / 1.145 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000806/0.8258, allocations: 0.5406 MB / 1.145 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009252/0.8267, allocations: 190.4 kB / 1.145 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.8304, allocations: 2.664 MB / 1.148 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008902/0.8313, allocations: 1.146 MB / 1.149 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.8316, allocations: 88.78 kB / 1.149 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.8318, allocations: 47.42 kB / 1.149 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.8318, allocations: 0 / 1.149 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of Templates: time 0.01754/0.8493, allocations: 8.972 MB / 1.158 GB, free: 13.98 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches