Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.TestCase10,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.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_10_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.001113/0.001113, allocations: 100.1 kB / 15.88 MB, free: 12 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.001143/0.001143, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.323/1.323, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.52/2.52, allocations: 437 MB / 0.7106 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 71.88 kB / 0.8692 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6788, allocations: 151.6 MB / 1.017 GB, free: 2.984 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1817/0.8605, allocations: 155.3 MB / 1.169 GB, free: 7.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02951/0.8901, allocations: 21.92 MB / 1.19 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.893, allocations: 51.69 kB / 1.19 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.896, allocations: 2.113 MB / 1.192 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.8987, allocations: 1.402 MB / 1.194 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.9006, allocations: 0.5474 MB / 1.194 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002769/0.9034, allocations: 2.066 MB / 1.196 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.9051, allocations: 1.023 MB / 1.197 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.9066, allocations: 0.8177 MB / 1.198 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.9087, allocations: 1.58 MB / 1.2 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004263/0.9092, allocations: 56 kB / 1.2 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000677/0.9099, allocations: 99.98 kB / 1.2 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007809/0.9107, allocations: 0.5469 MB / 1.2 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.9118, allocations: 0.7561 MB / 1.201 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.9133, allocations: 1.442 MB / 1.203 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.9134, allocations: 12 kB / 1.203 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9134, allocations: 0 / 1.203 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.461e-05/0.9134, allocations: 0 / 1.203 GB, free: 4.598 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.005042/0.9185, allocations: 2.345 MB / 1.205 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.9186, allocations: 15.97 kB / 1.205 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005555/0.9191, allocations: 237.9 kB / 1.205 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.921, allocations: 1.03 MB / 1.206 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.9212, allocations: 94.97 kB / 1.206 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.9214, allocations: 72 kB / 1.206 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.9232, allocations: 0.7807 MB / 1.207 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.9233, allocations: 4 kB / 1.207 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/0.9233, allocations: 24 kB / 1.207 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.9234, allocations: 16 kB / 1.207 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.9248, allocations: 0.6491 MB / 1.208 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005756/0.9306, allocations: 3.744 MB / 1.211 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.9322, allocations: 0.7446 MB / 1.212 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008027/0.933, allocations: 428.7 kB / 1.212 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.9331, allocations: 8.562 kB / 1.212 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008497/0.9339, allocations: 452 kB / 1.213 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=73): time 3.727e-06/0.9339, allocations: 0 / 1.213 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73): time 0.004348/0.9383, allocations: 1.83 MB / 1.215 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.9384, allocations: 60.06 kB / 1.215 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004219/0.9426, allocations: 3.366 MB / 1.218 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.9427, allocations: 45.7 kB / 1.218 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008248/0.9436, allocations: 0.9291 MB / 1.219 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.9438, allocations: 236.7 kB / 1.219 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.9441, allocations: 134.7 kB / 1.219 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.9442, allocations: 337.9 kB / 1.22 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.9449, allocations: 329.7 kB / 1.22 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/0.9457, allocations: 464.1 kB / 1.22 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.9471, allocations: 0.7479 MB / 1.221 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.9471, allocations: 0 / 1.221 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002492/0.9496, allocations: 1.255 MB / 1.222 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.9496, allocations: 4 kB / 1.222 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.9497, allocations: 4 kB / 1.222 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007444/0.9504, allocations: 263.2 kB / 1.223 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.9509, allocations: 143.8 kB / 1.223 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/0.9561, allocations: 4.364 MB / 1.227 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009133/0.957, allocations: 119.2 kB / 1.227 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.9571, allocations: 24 kB / 1.227 GB, free: 10.44 MB / 0.9825 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.0009428/0.9581, allocations: 0.6118 MB / 1.228 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/0.9584, allocations: 209.3 kB / 1.228 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.9589, allocations: 257.1 kB / 1.228 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.9589, allocations: 8 kB / 1.228 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/0.959, allocations: 8 kB / 1.228 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.959, allocations: 3.984 kB / 1.228 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/0.9633, allocations: 2.408 MB / 1.231 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.9633, allocations: 3.984 kB / 1.231 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.9636, allocations: 63.91 kB / 1.231 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006533/0.9643, allocations: 259.7 kB / 1.231 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.9644, allocations: 19.98 kB / 1.231 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004788/0.9692, allocations: 4.365 MB / 1.235 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9692, allocations: 0 / 1.235 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/0.9721, allocations: 1.629 MB / 1.237 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005327/0.9727, allocations: 322.4 kB / 1.237 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.973, allocations: 19.92 kB / 1.237 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.9735, allocations: 51.86 kB / 1.237 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.9737, allocations: 68.55 kB / 1.237 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/0.9738, allocations: 31.98 kB / 1.237 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002916/0.9767, allocations: 2.46 MB / 1.24 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.9767, allocations: 3.938 kB / 1.24 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001127/0.9779, allocations: 307.5 kB / 1.24 GB, free: 12.95 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.00122/0.9791, allocations: 0.4939 MB / 1.24 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002303/0.9814, allocations: 1.078 MB / 1.241 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.9814, allocations: 4.688 kB / 1.241 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.9826, allocations: 0.7059 MB / 1.242 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.9841, allocations: 275.5 kB / 1.242 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006881/0.991, allocations: 4.741 MB / 1.247 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/0.9928, allocations: 1.544 MB / 1.249 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.9931, allocations: 67.42 kB / 1.249 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.9931, allocations: 0 / 1.249 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of Templates: time 0.5187/1.512, allocations: 32.6 MB / 1.28 GB, free: 218.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches