Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.TestCase1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_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_10_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.001028/0.001028, allocations: 98.88 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.001222/0.001223, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.321/1.321, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437.8 MB / 0.7128 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003469, allocations: 16 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6729/0.6732, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1663/0.8396, allocations: 152.4 MB / 1.173 GB, free: 6.898 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02669/0.8664, allocations: 21.37 MB / 1.193 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.8685, allocations: 55.69 kB / 1.193 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.8703, allocations: 1.122 MB / 1.195 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.872, allocations: 0.8098 MB / 1.195 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.8734, allocations: 383.2 kB / 1.196 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001787/0.8752, allocations: 1.348 MB / 1.197 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.8762, allocations: 0.5827 MB / 1.198 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009061/0.8772, allocations: 482.2 kB / 1.198 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.8784, allocations: 0.8825 MB / 1.199 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.8785, allocations: 28 kB / 1.199 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.8788, allocations: 75.97 kB / 1.199 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.8791, allocations: 288.7 kB / 1.199 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005209/0.8797, allocations: 474.5 kB / 1.2 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009066/0.8806, allocations: 0.8924 MB / 1.201 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8806, allocations: 4 kB / 1.201 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8806, allocations: 3.938 kB / 1.201 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.384e-05/0.8807, allocations: 0 / 1.201 GB, free: 10.05 MB / 0.9512 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.002394/0.8831, allocations: 1.312 MB / 1.202 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.8831, allocations: 12.03 kB / 1.202 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.8834, allocations: 131.3 kB / 1.202 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009789/0.8844, allocations: 0.6589 MB / 1.203 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.8845, allocations: 82.62 kB / 1.203 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-05/0.8846, allocations: 48 kB / 1.203 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.8857, allocations: 0.5262 MB / 1.203 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.8858, allocations: 7.938 kB / 1.203 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.8858, allocations: 20 kB / 1.203 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.8858, allocations: 8 kB / 1.203 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009194/0.8867, allocations: 435.7 kB / 1.204 GB, free: 6.695 MB / 0.9512 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.00386/0.8906, allocations: 2.774 MB / 1.206 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.8916, allocations: 474.3 kB / 1.207 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.8923, allocations: 320.5 kB / 1.207 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.8923, allocations: 4.328 kB / 1.207 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005552/0.8929, allocations: 304 kB / 1.208 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.144e-06/0.8929, allocations: 0 / 1.208 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002755/0.8957, allocations: 1.184 MB / 1.209 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.8957, allocations: 55.41 kB / 1.209 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.8978, allocations: 1.756 MB / 1.21 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.8979, allocations: 41.64 kB / 1.21 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.8983, allocations: 0.5327 MB / 1.211 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.8985, allocations: 150 kB / 1.211 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.8985, allocations: 49.7 kB / 1.211 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8987, allocations: 330 kB / 1.211 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.8992, allocations: 233 kB / 1.212 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.8998, allocations: 367.2 kB / 1.212 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009451/0.9007, allocations: 0.5386 MB / 1.213 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.9007, allocations: 3.938 kB / 1.213 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001644/0.9024, allocations: 0.8415 MB / 1.213 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.9024, allocations: 8 kB / 1.213 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.9024, allocations: 4 kB / 1.213 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/0.9029, allocations: 136.9 kB / 1.214 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.9033, allocations: 115.8 kB / 1.214 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.906, allocations: 2.39 MB / 1.216 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.9065, allocations: 95.39 kB / 1.216 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.9066, allocations: 27.98 kB / 1.216 GB, free: 9.43 MB / 0.9669 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.0005145/0.9071, allocations: 383.3 kB / 1.216 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.9073, allocations: 110.6 kB / 1.217 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.9076, allocations: 143.7 kB / 1.217 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9076, allocations: 4 kB / 1.217 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.9076, allocations: 3.938 kB / 1.217 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.9076, allocations: 3.984 kB / 1.217 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.9101, allocations: 1.523 MB / 1.218 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.9101, allocations: 7.984 kB / 1.218 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.9103, allocations: 47.91 kB / 1.218 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000407/0.9108, allocations: 169.5 kB / 1.218 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.9108, allocations: 15.98 kB / 1.218 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/0.9143, allocations: 3.703 MB / 1.222 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.9143, allocations: 0 / 1.222 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.916, allocations: 1.011 MB / 1.223 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.9163, allocations: 219.5 kB / 1.223 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.9164, allocations: 15.94 kB / 1.223 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.9168, allocations: 51.89 kB / 1.223 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.917, allocations: 51.92 kB / 1.223 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.917, allocations: 15.98 kB / 1.223 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001531/0.9186, allocations: 1.289 MB / 1.225 GB, free: 300 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9186, allocations: 0 / 1.225 GB, free: 300 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009202/0.9195, allocations: 203.6 kB / 1.225 GB, free: 96 kB / 0.9669 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.001208/0.9207, allocations: 484 kB / 1.225 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.9222, allocations: 0.6901 MB / 1.226 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9222, allocations: 0 / 1.226 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.923, allocations: 0.5286 MB / 1.227 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.9241, allocations: 191.9 kB / 1.227 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.9283, allocations: 2.831 MB / 1.229 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008512/0.9292, allocations: 1.142 MB / 1.231 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.9293, allocations: 43.42 kB / 1.231 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9293, allocations: 0 / 1.231 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of Templates: time 0.02531/0.9546, allocations: 17.6 MB / 1.248 GB, free: 8.715 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches