Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 101.3 kB / 16.35 MB, free: 5.824 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.001182/0.001182, allocations: 192 kB / 17.29 MB, free: 5.48 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.189/2.189, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 65.05 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2612, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5911/0.8524, allocations: 156.8 MB / 1.18 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02524/0.8777, allocations: 21.75 MB / 1.201 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.8801, allocations: 55.44 kB / 1.201 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.8819, allocations: 1.163 MB / 1.202 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.8834, allocations: 0.8509 MB / 1.203 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.8846, allocations: 444.1 kB / 1.203 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.8859, allocations: 1.262 MB / 1.205 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.8867, allocations: 0.6731 MB / 1.205 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005795/0.8873, allocations: 0.5601 MB / 1.206 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/0.8881, allocations: 0.9167 MB / 1.207 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.793e-05/0.8882, allocations: 66.16 kB / 1.207 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.8885, allocations: 109.2 kB / 1.207 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.8887, allocations: 315 kB / 1.207 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.8891, allocations: 491.2 kB / 1.208 GB, free: 444 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.8901, allocations: 1.199 MB / 1.209 GB, free: 15.61 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8901, allocations: 0 / 1.209 GB, free: 15.61 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8901, allocations: 0 / 1.209 GB, free: 15.61 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.8901, allocations: 0 / 1.209 GB, free: 15.61 MB / 0.92 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.001986/0.8921, allocations: 1.487 MB / 1.21 GB, free: 14.44 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.8922, allocations: 10.12 kB / 1.21 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.8923, allocations: 130.5 kB / 1.211 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.8931, allocations: 0.6635 MB / 1.211 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.8933, allocations: 76.06 kB / 1.211 GB, free: 13.76 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.8933, allocations: 44.09 kB / 1.211 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/0.8942, allocations: 0.5161 MB / 1.212 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.8942, allocations: 6.953 kB / 1.212 GB, free: 13.42 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.8942, allocations: 18.31 kB / 1.212 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.8943, allocations: 10.22 kB / 1.212 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.895, allocations: 417.4 kB / 1.212 GB, free: 13.21 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.003301/0.8983, allocations: 2.795 MB / 1.215 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008831/0.8992, allocations: 458.2 kB / 1.215 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.8997, allocations: 287.7 kB / 1.216 GB, free: 10.4 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.8997, allocations: 2.828 kB / 1.216 GB, free: 10.4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005106/0.9003, allocations: 302.3 kB / 1.216 GB, free: 10.21 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/0.9003, allocations: 0 / 1.216 GB, free: 10.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002579/0.9029, allocations: 1.243 MB / 1.217 GB, free: 9.449 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.9029, allocations: 58.75 kB / 1.217 GB, free: 9.387 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.9045, allocations: 1.747 MB / 1.219 GB, free: 8.082 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.9046, allocations: 37.7 kB / 1.219 GB, free: 8.039 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.9049, allocations: 0.5179 MB / 1.219 GB, free: 7.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.9051, allocations: 149.9 kB / 1.22 GB, free: 7.371 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.9052, allocations: 94.25 kB / 1.22 GB, free: 7.273 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9053, allocations: 330 kB / 1.22 GB, free: 6.945 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.9058, allocations: 225 kB / 1.22 GB, free: 6.727 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.9063, allocations: 324.8 kB / 1.221 GB, free: 6.371 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008133/0.9071, allocations: 0.5104 MB / 1.221 GB, free: 5.824 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9071, allocations: 0 / 1.221 GB, free: 5.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001453/0.9086, allocations: 0.8466 MB / 1.222 GB, free: 4.969 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.9086, allocations: 8 kB / 1.222 GB, free: 4.961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9086, allocations: 0 / 1.222 GB, free: 4.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000489/0.9091, allocations: 188.8 kB / 1.222 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.9094, allocations: 99.81 kB / 1.222 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.9127, allocations: 2.987 MB / 1.225 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.9131, allocations: 71.48 kB / 1.225 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.9131, allocations: 20 kB / 1.225 GB, free: 1.465 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000461/0.9136, allocations: 389.4 kB / 1.226 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.9137, allocations: 122.4 kB / 1.226 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.9139, allocations: 139.7 kB / 1.226 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.914, allocations: 7.984 kB / 1.226 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.914, allocations: 4 kB / 1.226 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.914, allocations: 0 / 1.226 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.9163, allocations: 1.572 MB / 1.227 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9163, allocations: 0 / 1.227 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.9165, allocations: 51.91 kB / 1.227 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.9169, allocations: 192.2 kB / 1.228 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.917, allocations: 15.98 kB / 1.228 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004054/0.921, allocations: 4.552 MB / 1.232 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9211, allocations: 0 / 1.232 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.9228, allocations: 1.066 MB / 1.233 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.9231, allocations: 211.6 kB / 1.233 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.9232, allocations: 12 kB / 1.233 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.9234, allocations: 31.91 kB / 1.233 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.9236, allocations: 51.92 kB / 1.233 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.9236, allocations: 19.98 kB / 1.233 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001283/0.9249, allocations: 1.281 MB / 1.235 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9249, allocations: 0 / 1.235 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007171/0.9256, allocations: 203.7 kB / 1.235 GB, free: 7.176 MB / 0.9356 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,13,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.001066/0.9267, allocations: 479.3 kB / 1.235 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.9281, allocations: 0.7198 MB / 1.236 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9281, allocations: 0 / 1.236 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008347/0.929, allocations: 0.5596 MB / 1.237 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.9299, allocations: 212.9 kB / 1.237 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.9331, allocations: 2.369 MB / 1.239 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/0.9338, allocations: 1.153 MB / 1.24 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.9341, allocations: 84.78 kB / 1.24 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.9342, allocations: 47.42 kB / 1.24 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.9342, allocations: 0 / 1.24 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of Templates: time 0.01719/0.9514, allocations: 10.46 MB / 1.25 GB, free: 7.336 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches