Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 104.8 kB / 16.27 MB, free: 5.977 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.001378/0.001378, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.517/2.517, allocations: 469.4 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 56.31 kB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3122, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.708/1.02, allocations: 156.7 MB / 1.217 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02455/1.045, allocations: 21.76 MB / 1.239 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/1.047, allocations: 51.69 kB / 1.239 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/1.049, allocations: 1.161 MB / 1.24 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/1.05, allocations: 0.8522 MB / 1.241 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/1.051, allocations: 442.6 kB / 1.241 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001176/1.052, allocations: 1.247 MB / 1.242 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007588/1.053, allocations: 0.6992 MB / 1.243 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/1.054, allocations: 0.5452 MB / 1.243 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009504/1.055, allocations: 0.9177 MB / 1.244 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/1.055, allocations: 64 kB / 1.244 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/1.055, allocations: 112 kB / 1.244 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/1.055, allocations: 316.7 kB / 1.245 GB, free: 288 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004096/1.056, allocations: 488.8 kB / 1.245 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/1.057, allocations: 1.183 MB / 1.246 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.057, allocations: 0 / 1.246 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.914e-06/1.057, allocations: 0 / 1.246 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.497e-05/1.057, allocations: 0 / 1.246 GB, free: 14.61 MB / 0.9669 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.002174/1.059, allocations: 1.475 MB / 1.248 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.059, allocations: 12.02 kB / 1.248 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/1.059, allocations: 131.3 kB / 1.248 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007852/1.06, allocations: 0.6551 MB / 1.249 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/1.06, allocations: 74.69 kB / 1.249 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/1.06, allocations: 51.98 kB / 1.249 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008903/1.061, allocations: 0.5223 MB / 1.249 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/1.061, allocations: 0 / 1.249 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/1.061, allocations: 16 kB / 1.249 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.061, allocations: 12 kB / 1.249 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/1.062, allocations: 411.7 kB / 1.25 GB, free: 11.14 MB / 0.9669 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.003312/1.065, allocations: 2.739 MB / 1.252 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/1.066, allocations: 452.4 kB / 1.253 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/1.067, allocations: 309.3 kB / 1.253 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/1.067, allocations: 4.656 kB / 1.253 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005363/1.068, allocations: 291.3 kB / 1.253 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 2.444e-06/1.068, allocations: 0 / 1.253 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.002567/1.07, allocations: 1.145 MB / 1.254 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/1.07, allocations: 59.41 kB / 1.255 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/1.072, allocations: 1.76 MB / 1.256 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/1.072, allocations: 37.7 kB / 1.256 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/1.072, allocations: 0.5249 MB / 1.257 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/1.073, allocations: 142 kB / 1.257 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/1.073, allocations: 98.25 kB / 1.257 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.073, allocations: 330 kB / 1.257 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/1.073, allocations: 212.9 kB / 1.258 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/1.074, allocations: 343.1 kB / 1.258 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/1.075, allocations: 0.5229 MB / 1.258 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.075, allocations: 0 / 1.258 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001505/1.076, allocations: 0.8029 MB / 1.259 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.076, allocations: 15.92 kB / 1.259 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.076, allocations: 4 kB / 1.259 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/1.077, allocations: 132.9 kB / 1.259 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/1.077, allocations: 111.8 kB / 1.259 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/1.08, allocations: 2.609 MB / 1.262 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/1.08, allocations: 71.48 kB / 1.262 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/1.08, allocations: 20 kB / 1.262 GB, free: 13.87 MB / 0.9825 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.0004759/1.081, allocations: 391.3 kB / 1.262 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.081, allocations: 118.5 kB / 1.263 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/1.081, allocations: 143.7 kB / 1.263 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.081, allocations: 7.984 kB / 1.263 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.081, allocations: 4 kB / 1.263 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.081, allocations: 0 / 1.263 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/1.083, allocations: 1.5 MB / 1.264 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.083, allocations: 4 kB / 1.264 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/1.084, allocations: 51.89 kB / 1.264 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003767/1.084, allocations: 157.6 kB / 1.264 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/1.084, allocations: 11.98 kB / 1.264 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/1.087, allocations: 4.028 MB / 1.268 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.088, allocations: 0 / 1.268 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/1.089, allocations: 0.9871 MB / 1.269 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/1.09, allocations: 219.5 kB / 1.269 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-05/1.09, allocations: 15.92 kB / 1.269 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/1.09, allocations: 27.97 kB / 1.27 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.09, allocations: 51.92 kB / 1.27 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/1.09, allocations: 16 kB / 1.27 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001347/1.091, allocations: 1.293 MB / 1.271 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.091, allocations: 3.938 kB / 1.271 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007646/1.092, allocations: 195.7 kB / 1.271 GB, free: 4.273 MB / 0.9825 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.001128/1.093, allocations: 486.3 kB / 1.271 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0015/1.095, allocations: 0.6862 MB / 1.272 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.095, allocations: 0 / 1.272 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007952/1.096, allocations: 0.5248 MB / 1.273 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/1.097, allocations: 209 kB / 1.273 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/1.1, allocations: 2.429 MB / 1.275 GB, free: 60 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/1.101, allocations: 1.146 MB / 1.276 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/1.101, allocations: 51.36 kB / 1.276 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of SimCode: time 2.134e-06/1.101, allocations: 0 / 1.276 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of Templates: time 0.02384/1.125, allocations: 17.81 MB / 1.294 GB, free: 13.05 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches