Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase1,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.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_9_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.001732/0.001732, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.001796/0.001796, allocations: 182.3 kB / 17.34 MB, free: 5.629 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.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.347/2.347, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 59.91 kB / 0.9515 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9801/0.9816, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.2157/1.197, allocations: 156.7 MB / 1.242 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0312/1.229, allocations: 21.75 MB / 1.263 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/1.232, allocations: 51.69 kB / 1.263 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0021/1.234, allocations: 1.165 MB / 1.264 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002247/1.236, allocations: 0.8718 MB / 1.265 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/1.238, allocations: 445.4 kB / 1.265 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002143/1.24, allocations: 1.259 MB / 1.267 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/1.241, allocations: 0.6831 MB / 1.267 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/1.242, allocations: 0.5607 MB / 1.268 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/1.244, allocations: 0.9214 MB / 1.269 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/1.244, allocations: 64 kB / 1.269 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/1.245, allocations: 112 kB / 1.269 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003699/1.245, allocations: 308.8 kB / 1.269 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007001/1.246, allocations: 492.8 kB / 1.27 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/1.247, allocations: 1.197 MB / 1.271 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.247, allocations: 0 / 1.271 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/1.247, allocations: 4 kB / 1.271 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.498e-05/1.247, allocations: 0 / 1.271 GB, free: 3.164 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003195/1.251, allocations: 1.482 MB / 1.272 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.251, allocations: 12.03 kB / 1.272 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/1.251, allocations: 135.3 kB / 1.272 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/1.252, allocations: 0.6666 MB / 1.273 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/1.252, allocations: 66.69 kB / 1.273 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/1.253, allocations: 51.94 kB / 1.273 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/1.254, allocations: 0.5184 MB / 1.274 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/1.254, allocations: 0 / 1.274 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/1.254, allocations: 19.98 kB / 1.274 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.254, allocations: 12 kB / 1.274 GB, free: 76 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/1.255, allocations: 415.7 kB / 1.274 GB, free: 15.67 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.004074/1.259, allocations: 2.723 MB / 1.277 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/1.26, allocations: 449.9 kB / 1.277 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/1.261, allocations: 309.2 kB / 1.277 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.296e-05/1.261, allocations: 4.328 kB / 1.277 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005658/1.261, allocations: 283.8 kB / 1.278 GB, free: 11.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 2.415e-06/1.261, allocations: 0 / 1.278 GB, free: 11.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.002885/1.264, allocations: 1.155 MB / 1.279 GB, free: 10.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/1.264, allocations: 59.41 kB / 1.279 GB, free: 10.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/1.267, allocations: 1.76 MB / 1.281 GB, free: 8.621 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/1.267, allocations: 41.69 kB / 1.281 GB, free: 8.574 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/1.267, allocations: 0.525 MB / 1.281 GB, free: 8.043 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/1.268, allocations: 142 kB / 1.281 GB, free: 7.902 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/1.268, allocations: 98.25 kB / 1.281 GB, free: 7.801 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.268, allocations: 326 kB / 1.282 GB, free: 7.477 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/1.268, allocations: 217 kB / 1.282 GB, free: 7.266 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007809/1.269, allocations: 331.2 kB / 1.282 GB, free: 6.891 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/1.27, allocations: 0.5236 MB / 1.283 GB, free: 6.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.27, allocations: 3.938 kB / 1.283 GB, free: 6.316 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001803/1.272, allocations: 0.805 MB / 1.284 GB, free: 5.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.272, allocations: 8 kB / 1.284 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.272, allocations: 4 kB / 1.284 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/1.273, allocations: 136.9 kB / 1.284 GB, free: 5.352 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/1.273, allocations: 99.81 kB / 1.284 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/1.277, allocations: 2.614 MB / 1.286 GB, free: 2.508 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/1.277, allocations: 71.48 kB / 1.286 GB, free: 2.438 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/1.277, allocations: 20 kB / 1.286 GB, free: 2.418 MB / 1.014 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.0007117/1.278, allocations: 391.4 kB / 1.287 GB, free: 2.027 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/1.278, allocations: 118.4 kB / 1.287 GB, free: 1.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/1.278, allocations: 135.7 kB / 1.287 GB, free: 1.773 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/1.278, allocations: 4 kB / 1.287 GB, free: 1.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.278, allocations: 4 kB / 1.287 GB, free: 1.766 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/1.278, allocations: 3.984 kB / 1.287 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/1.281, allocations: 1.494 MB / 1.289 GB, free: 216 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.281, allocations: 4 kB / 1.289 GB, free: 212 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/1.282, allocations: 43.91 kB / 1.289 GB, free: 168 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004/1.282, allocations: 161.6 kB / 1.289 GB, free: 0 / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/1.282, allocations: 16.06 kB / 1.289 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004261/1.286, allocations: 4.014 MB / 1.293 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.286, allocations: 3.984 kB / 1.293 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/1.288, allocations: 0.9888 MB / 1.294 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/1.288, allocations: 219.6 kB / 1.294 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/1.289, allocations: 15.98 kB / 1.294 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/1.289, allocations: 27.95 kB / 1.294 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.289, allocations: 51.92 kB / 1.294 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/1.289, allocations: 15.94 kB / 1.294 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00165/1.291, allocations: 1.293 MB / 1.295 GB, free: 9.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.291, allocations: 0 / 1.295 GB, free: 9.039 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007919/1.292, allocations: 195.9 kB / 1.295 GB, free: 8.848 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.001187/1.293, allocations: 489.8 kB / 1.296 GB, free: 8.551 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00158/1.294, allocations: 0.6572 MB / 1.297 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.294, allocations: 0 / 1.297 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008624/1.295, allocations: 0.5406 MB / 1.297 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.296, allocations: 200.1 kB / 1.297 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/1.3, allocations: 2.418 MB / 1.3 GB, free: 4.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009184/1.301, allocations: 1.138 MB / 1.301 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/1.302, allocations: 51.42 kB / 1.301 GB, free: 3.457 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/1.302, allocations: 0 / 1.301 GB, free: 3.457 MB / 1.029 GB Notification: Performance of Templates: time 0.02715/1.329, allocations: 17.88 MB / 1.318 GB, free: 1.605 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches