Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008478/0.0008481, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008191/0.0008192, allocations: 182.3 kB / 16.92 MB, free: 6.918 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.706/2.706, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003504, allocations: 8.188 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1583/0.4469, allocations: 153.2 MB / 1.209 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.4729, allocations: 21.7 MB / 1.23 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.4751, allocations: 51.69 kB / 1.23 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.4778, allocations: 2.124 MB / 1.232 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.4802, allocations: 1.398 MB / 1.234 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.4819, allocations: 0.5435 MB / 1.234 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00263/0.4845, allocations: 2.085 MB / 1.236 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.4862, allocations: 0.9825 MB / 1.237 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.4876, allocations: 0.7864 MB / 1.238 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.4896, allocations: 1.534 MB / 1.239 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/0.4898, allocations: 40 kB / 1.239 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.4902, allocations: 83.92 kB / 1.239 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005147/0.4907, allocations: 0.5196 MB / 1.24 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008793/0.4916, allocations: 0.7694 MB / 1.241 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.493, allocations: 1.423 MB / 1.242 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.493, allocations: 0 / 1.242 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.493, allocations: 0 / 1.242 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.025e-05/0.4931, allocations: 0 / 1.242 GB, free: 9.082 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003555/0.4967, allocations: 2.074 MB / 1.244 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4967, allocations: 11.97 kB / 1.244 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.4971, allocations: 240.9 kB / 1.244 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.4985, allocations: 1.031 MB / 1.245 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.4987, allocations: 91.69 kB / 1.245 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.4988, allocations: 76 kB / 1.246 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.5004, allocations: 0.801 MB / 1.246 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.5004, allocations: 4 kB / 1.246 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/0.5005, allocations: 31.94 kB / 1.246 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.5005, allocations: 16 kB / 1.246 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.5019, allocations: 0.6609 MB / 1.247 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5366/1.038, allocations: 3.801 MB / 1.251 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/1.04, allocations: 0.7578 MB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/1.041, allocations: 440.9 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-05/1.041, allocations: 10.48 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009016/1.042, allocations: 464.3 kB / 1.252 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=73): time 3.647e-06/1.042, allocations: 1.969 kB / 1.252 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73): time 0.004513/1.047, allocations: 1.875 MB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/1.047, allocations: 60.84 kB / 1.254 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003088/1.05, allocations: 3.377 MB / 1.258 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.934e-05/1.05, allocations: 51.72 kB / 1.258 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006335/1.051, allocations: 0.929 MB / 1.259 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/1.051, allocations: 236.7 kB / 1.259 GB, free: 191 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/1.051, allocations: 72.2 kB / 1.259 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/1.051, allocations: 337.9 kB / 1.259 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/1.052, allocations: 340.3 kB / 1.259 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007514/1.052, allocations: 490.7 kB / 1.26 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/1.054, allocations: 0.7785 MB / 1.261 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.054, allocations: 0 / 1.261 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002321/1.056, allocations: 1.291 MB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.056, allocations: 5.844 kB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/1.056, allocations: 2.906 kB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006892/1.057, allocations: 270.2 kB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/1.057, allocations: 145.4 kB / 1.262 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004444/1.062, allocations: 4.359 MB / 1.267 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009089/1.063, allocations: 125.8 kB / 1.267 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/1.063, allocations: 31.97 kB / 1.267 GB, free: 187.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001217/1.064, allocations: 0.6131 MB / 1.267 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/1.064, allocations: 213.6 kB / 1.268 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/1.065, allocations: 265.1 kB / 1.268 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.065, allocations: 6.281 kB / 1.268 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/1.065, allocations: 7.875 kB / 1.268 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/1.065, allocations: 3.891 kB / 1.268 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/1.069, allocations: 2.441 MB / 1.27 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.069, allocations: 0 / 1.27 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/1.069, allocations: 75.67 kB / 1.27 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007735/1.07, allocations: 251.1 kB / 1.271 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/1.07, allocations: 19.45 kB / 1.271 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/1.075, allocations: 4.366 MB / 1.275 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.075, allocations: 1.828 kB / 1.275 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/1.078, allocations: 1.663 MB / 1.276 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/1.079, allocations: 334.7 kB / 1.277 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/1.079, allocations: 22.78 kB / 1.277 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/1.079, allocations: 59.3 kB / 1.277 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/1.08, allocations: 74.66 kB / 1.277 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.581e-05/1.08, allocations: 27.53 kB / 1.277 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003126/1.083, allocations: 2.469 MB / 1.279 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.083, allocations: 0 / 1.279 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001179/1.084, allocations: 298.9 kB / 1.28 GB, free: 182 MB / 0.9981 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001145/1.085, allocations: 0.4971 MB / 1.28 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002197/1.087, allocations: 1.129 MB / 1.281 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.087, allocations: 0 / 1.281 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/1.088, allocations: 0.7151 MB / 1.282 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/1.09, allocations: 266.2 kB / 1.282 GB, free: 180.8 MB / 0.9981 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/1.096, allocations: 4.824 MB / 1.287 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.097, allocations: 1.55 MB / 1.288 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/1.098, allocations: 69.84 kB / 1.288 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.098, allocations: 0 / 1.288 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03903/1.137, allocations: 32.41 MB / 1.32 GB, free: 150.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches