Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.TestCase3,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.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_latest_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.001067/0.001067, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001325/0.001325, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.827/2.827, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004106, allocations: 13.23 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1524/0.4878, allocations: 142.2 MB / 1.197 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02512/0.5129, allocations: 20.23 MB / 1.217 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.5147, allocations: 51.69 kB / 1.217 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.5163, allocations: 1.099 MB / 1.218 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.5179, allocations: 0.7864 MB / 1.219 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.519, allocations: 335.3 kB / 1.219 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.5202, allocations: 1.181 MB / 1.22 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006348/0.5208, allocations: 0.4987 MB / 1.22 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.5214, allocations: 474.4 kB / 1.221 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008885/0.5223, allocations: 0.7832 MB / 1.222 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.369e-05/0.5224, allocations: 28 kB / 1.222 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.5226, allocations: 71.97 kB / 1.222 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.5229, allocations: 279 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.5231, allocations: 205.1 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008372/0.5239, allocations: 0.9039 MB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5239, allocations: 0 / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5239, allocations: 0 / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.524, allocations: 4 kB / 1.223 GB, free: 11.73 MB / 0.9825 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.001905/0.5259, allocations: 1.316 MB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.5259, allocations: 12.03 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.5261, allocations: 126.4 kB / 1.225 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.5269, allocations: 0.6128 MB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.527, allocations: 82.62 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.5271, allocations: 51.94 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009231/0.528, allocations: 0.5224 MB / 1.226 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.528, allocations: 0 / 1.226 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.5281, allocations: 20 kB / 1.226 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.5281, allocations: 8 kB / 1.226 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.529, allocations: 435.7 kB / 1.226 GB, free: 8.43 MB / 0.9825 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.003348/0.5323, allocations: 2.79 MB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009588/0.5333, allocations: 453.4 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.5339, allocations: 325.2 kB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.534, allocations: 4.328 kB / 1.23 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005503/0.5345, allocations: 287.8 kB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/0.5345, allocations: 0 / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.002591/0.5371, allocations: 1.171 MB / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.5372, allocations: 59.41 kB / 1.231 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.5391, allocations: 1.768 MB / 1.233 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.5391, allocations: 41.69 kB / 1.233 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.5395, allocations: 0.5211 MB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.5397, allocations: 138 kB / 1.234 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.5397, allocations: 19.94 kB / 1.234 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5398, allocations: 322 kB / 1.234 GB, free: 220 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.5403, allocations: 237 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.5409, allocations: 347.2 kB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.5414, allocations: 268.6 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5415, allocations: 0 / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001553/0.543, allocations: 0.8462 MB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5431, allocations: 4 kB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.5431, allocations: 7.984 kB / 1.236 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000426/0.5435, allocations: 144.9 kB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.5439, allocations: 111.9 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.5467, allocations: 2.374 MB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.5472, allocations: 95.45 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.5472, allocations: 20 kB / 1.238 GB, free: 11.6 MB / 0.9981 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005503/0.5478, allocations: 401.2 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.548, allocations: 114.5 kB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.5483, allocations: 143.7 kB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5483, allocations: 4 kB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.5483, allocations: 4 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5483, allocations: 0 / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.5508, allocations: 1.521 MB / 1.24 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.5508, allocations: 0 / 1.24 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.5511, allocations: 47.97 kB / 1.24 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003953/0.5515, allocations: 162.9 kB / 1.241 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.5515, allocations: 12 kB / 1.241 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003516/0.555, allocations: 3.691 MB / 1.244 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5551, allocations: 0 / 1.244 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.5569, allocations: 1.01 MB / 1.245 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.5573, allocations: 219.6 kB / 1.245 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.5574, allocations: 12 kB / 1.245 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.5578, allocations: 47.86 kB / 1.245 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.558, allocations: 51.92 kB / 1.245 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.5581, allocations: 23.92 kB / 1.246 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001678/0.5598, allocations: 1.285 MB / 1.247 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5598, allocations: 0 / 1.247 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009593/0.5607, allocations: 207.7 kB / 1.247 GB, free: 2.281 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.562, allocations: 477.5 kB / 1.247 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.5636, allocations: 0.6865 MB / 1.248 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5636, allocations: 0 / 1.248 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009117/0.5646, allocations: 0.54 MB / 1.249 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.5656, allocations: 195 kB / 1.249 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6042/1.17, allocations: 2.646 MB / 1.251 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009478/1.171, allocations: 1.15 MB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004434/1.171, allocations: 93.69 kB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/1.171, allocations: 44.95 kB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/1.171, allocations: 0 / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of Templates: time 0.01937/1.191, allocations: 8.979 MB / 1.261 GB, free: 189.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches