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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.004577/0.004577, allocations: 100.3 kB / 15.73 MB, free: 6.477 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.001161/0.001161, allocations: 192.5 kB / 16.67 MB, free: 6.391 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.199/1.199, 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 9.1.3-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 66.38 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2716, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1456/0.4172, allocations: 156.7 MB / 1.241 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.553/0.9702, allocations: 21.73 MB / 1.262 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.9719, allocations: 53.84 kB / 1.262 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.9737, allocations: 1.164 MB / 1.263 GB, free: 3.527 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.9752, allocations: 0.8544 MB / 1.264 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.9764, allocations: 443.2 kB / 1.265 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.978, allocations: 1.259 MB / 1.266 GB, free: 3.496 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009321/0.9789, allocations: 0.6749 MB / 1.267 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.9799, allocations: 0.5512 MB / 1.267 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.9811, allocations: 0.9155 MB / 1.268 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.9813, allocations: 65.34 kB / 1.268 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.9816, allocations: 111.6 kB / 1.268 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.9819, allocations: 317.8 kB / 1.268 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005168/0.9824, allocations: 493.1 kB / 1.269 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.9838, allocations: 1.196 MB / 1.27 GB, free: 3.371 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.9838, allocations: 1.125 kB / 1.27 GB, free: 3.371 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9838, allocations: 0 / 1.27 GB, free: 3.371 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.9838, allocations: 0.9375 kB / 1.27 GB, free: 3.371 MB / 1.014 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.002888/0.9867, allocations: 1.478 MB / 1.272 GB, free: 2.504 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.9868, allocations: 12.17 kB / 1.272 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.9871, allocations: 131.5 kB / 1.272 GB, free: 2.438 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.9882, allocations: 0.666 MB / 1.272 GB, free: 2.051 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.9884, allocations: 74.03 kB / 1.272 GB, free: 2.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.9885, allocations: 51.33 kB / 1.272 GB, free: 2.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.9895, allocations: 0.522 MB / 1.273 GB, free: 1.957 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.9895, allocations: 2.438 kB / 1.273 GB, free: 1.957 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.9896, allocations: 21.55 kB / 1.273 GB, free: 1.957 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.9896, allocations: 15.31 kB / 1.273 GB, free: 1.953 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.9906, allocations: 410.1 kB / 1.273 GB, free: 1.953 MB / 1.014 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.003879/0.9945, allocations: 2.726 MB / 1.276 GB, free: 16.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.9954, allocations: 440.8 kB / 1.276 GB, free: 16.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.996, allocations: 311.5 kB / 1.277 GB, free: 16.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.9961, allocations: 8.391 kB / 1.277 GB, free: 16.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004996/0.9966, allocations: 283.9 kB / 1.277 GB, free: 16.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.765e-06/0.9966, allocations: 0 / 1.277 GB, free: 16.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.002551/0.9991, allocations: 1.15 MB / 1.278 GB, free: 16.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.9992, allocations: 58.66 kB / 1.278 GB, free: 16.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/1.001, allocations: 1.763 MB / 1.28 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/1.001, allocations: 37.81 kB / 1.28 GB, free: 15.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/1.002, allocations: 0.5224 MB / 1.28 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/1.002, allocations: 143.6 kB / 1.281 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/1.002, allocations: 99.72 kB / 1.281 GB, free: 15.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.002, allocations: 325.6 kB / 1.281 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/1.002, allocations: 216.1 kB / 1.281 GB, free: 15.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/1.003, allocations: 337.8 kB / 1.282 GB, free: 15.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/1.004, allocations: 0.5158 MB / 1.282 GB, free: 15.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.004, allocations: 2.297 kB / 1.282 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001454/1.005, allocations: 0.8112 MB / 1.283 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.005, allocations: 11.77 kB / 1.283 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.005, allocations: 4.469 kB / 1.283 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/1.006, allocations: 134.5 kB / 1.283 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/1.006, allocations: 103.1 kB / 1.283 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/1.009, allocations: 2.608 MB / 1.286 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/1.009, allocations: 73.91 kB / 1.286 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/1.009, allocations: 21.34 kB / 1.286 GB, free: 13.38 MB / 1.029 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.0005408/1.01, allocations: 388.6 kB / 1.286 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/1.01, allocations: 117.9 kB / 1.286 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/1.01, allocations: 145.4 kB / 1.286 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.01, allocations: 8.094 kB / 1.286 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.01, allocations: 2.594 kB / 1.286 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.01, allocations: 4.125 kB / 1.286 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/1.012, allocations: 1.49 MB / 1.288 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.012, allocations: 0 / 1.288 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/1.013, allocations: 49.95 kB / 1.288 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/1.013, allocations: 161.7 kB / 1.288 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/1.013, allocations: 14.94 kB / 1.288 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/1.017, allocations: 4.026 MB / 1.292 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.017, allocations: 3.094 kB / 1.292 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/1.018, allocations: 0.9871 MB / 1.293 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/1.019, allocations: 212.8 kB / 1.293 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/1.019, allocations: 13.23 kB / 1.293 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/1.019, allocations: 29.05 kB / 1.293 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/1.019, allocations: 54.64 kB / 1.293 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/1.019, allocations: 12.27 kB / 1.293 GB, free: 9.551 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001522/1.021, allocations: 1.291 MB / 1.294 GB, free: 9.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.021, allocations: 0.8125 kB / 1.294 GB, free: 9.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007966/1.022, allocations: 200.9 kB / 1.295 GB, free: 9.418 MB / 1.029 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.00105/1.023, allocations: 485.5 kB / 1.295 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.024, allocations: 0.6606 MB / 1.296 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.024, allocations: 2.062 kB / 1.296 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007963/1.025, allocations: 0.5326 MB / 1.296 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009757/1.026, allocations: 211.2 kB / 1.297 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/1.029, allocations: 2.351 MB / 1.299 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/1.03, allocations: 1.151 MB / 1.3 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003082/1.03, allocations: 92.75 kB / 1.3 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/1.031, allocations: 46.81 kB / 1.3 GB, free: 7.367 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/1.031, allocations: 1.094 kB / 1.3 GB, free: 7.367 MB / 1.029 GB Notification: Performance of Templates: time 0.01888/1.049, allocations: 10.39 MB / 1.31 GB, free: 6.598 MB / 1.029 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