Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 111.7 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.001789/0.001789, allocations: 182.8 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.19 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.409/2.409, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9171/0.9185, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.2035/1.122, allocations: 158.3 MB / 1.243 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03186/1.154, allocations: 22.25 MB / 1.265 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003518/1.157, allocations: 63.69 kB / 1.265 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003166/1.161, allocations: 1.975 MB / 1.267 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003408/1.164, allocations: 1.327 MB / 1.268 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002495/1.167, allocations: 0.6869 MB / 1.269 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003424/1.17, allocations: 1.962 MB / 1.271 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/1.172, allocations: 1.148 MB / 1.272 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/1.174, allocations: 0.8995 MB / 1.273 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/1.177, allocations: 1.444 MB / 1.274 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004287/1.177, allocations: 104 kB / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/1.178, allocations: 155.9 kB / 1.274 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00059/1.178, allocations: 0.5273 MB / 1.275 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/1.179, allocations: 0.8225 MB / 1.276 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/1.182, allocations: 1.963 MB / 1.278 GB, free: 12.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.182, allocations: 0 / 1.278 GB, free: 12.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.833e-06/1.182, allocations: 0 / 1.278 GB, free: 12.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001035/1.182, allocations: 0 / 1.278 GB, free: 12.07 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004696/1.187, allocations: 2.393 MB / 1.28 GB, free: 9.613 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.187, allocations: 8.031 kB / 1.28 GB, free: 9.605 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/1.188, allocations: 241.9 kB / 1.28 GB, free: 9.367 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/1.189, allocations: 1.062 MB / 1.281 GB, free: 8.234 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/1.19, allocations: 107.7 kB / 1.281 GB, free: 8.125 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/1.19, allocations: 83.91 kB / 1.281 GB, free: 8.043 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/1.191, allocations: 0.8651 MB / 1.282 GB, free: 7.145 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/1.192, allocations: 0 / 1.282 GB, free: 7.145 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/1.192, allocations: 32 kB / 1.282 GB, free: 7.113 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/1.192, allocations: 20 kB / 1.282 GB, free: 7.094 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/1.193, allocations: 0.648 MB / 1.283 GB, free: 6.445 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.006072/1.199, allocations: 4.158 MB / 1.287 GB, free: 1.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/1.201, allocations: 0.7063 MB / 1.288 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008113/1.202, allocations: 427.1 kB / 1.288 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/1.202, allocations: 12.66 kB / 1.288 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008485/1.202, allocations: 432.2 kB / 1.289 GB, free: 408 kB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 3.396e-06/1.202, allocations: 0 / 1.289 GB, free: 408 kB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.006074/1.209, allocations: 2.111 MB / 1.291 GB, free: 14.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/1.209, allocations: 85.77 kB / 1.291 GB, free: 14.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00386/1.213, allocations: 3.195 MB / 1.294 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/1.213, allocations: 57.69 kB / 1.294 GB, free: 10.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008243/1.214, allocations: 0.9567 MB / 1.295 GB, free: 9.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/1.214, allocations: 248.5 kB / 1.295 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/1.214, allocations: 158.6 kB / 1.295 GB, free: 9.477 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.214, allocations: 341.9 kB / 1.296 GB, free: 9.137 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/1.215, allocations: 309.8 kB / 1.296 GB, free: 8.832 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007899/1.216, allocations: 469.3 kB / 1.296 GB, free: 8.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/1.217, allocations: 0.7421 MB / 1.297 GB, free: 7.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.217, allocations: 4 kB / 1.297 GB, free: 7.527 MB / 1.029 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002599/1.22, allocations: 1.238 MB / 1.298 GB, free: 6.277 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.22, allocations: 8 kB / 1.298 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.22, allocations: 4 kB / 1.298 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/1.221, allocations: 322.9 kB / 1.299 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/1.221, allocations: 127.8 kB / 1.299 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006282/1.228, allocations: 4.068 MB / 1.303 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008727/1.229, allocations: 103.2 kB / 1.303 GB, free: 1.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.229, allocations: 32 kB / 1.303 GB, free: 1.492 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001012/1.23, allocations: 0.5977 MB / 1.303 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/1.23, allocations: 205.4 kB / 1.304 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/1.231, allocations: 245.5 kB / 1.304 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.231, allocations: 11.98 kB / 1.304 GB, free: 436 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.231, allocations: 0 / 1.304 GB, free: 436 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/1.231, allocations: 3.984 kB / 1.304 GB, free: 432 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/1.235, allocations: 2.409 MB / 1.306 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.235, allocations: 0 / 1.306 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/1.236, allocations: 67.89 kB / 1.306 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009348/1.236, allocations: 341.4 kB / 1.307 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/1.237, allocations: 19.98 kB / 1.307 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00692/1.243, allocations: 5.537 MB / 1.312 GB, free: 7.703 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.244, allocations: 7.938 kB / 1.312 GB, free: 7.695 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/1.247, allocations: 1.569 MB / 1.314 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006067/1.247, allocations: 318.3 kB / 1.314 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/1.248, allocations: 27.92 kB / 1.314 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/1.248, allocations: 43.95 kB / 1.314 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/1.248, allocations: 96.52 kB / 1.314 GB, free: 5.609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/1.248, allocations: 27.94 kB / 1.314 GB, free: 5.582 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002944/1.251, allocations: 2.334 MB / 1.316 GB, free: 3.234 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.251, allocations: 0 / 1.316 GB, free: 3.234 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001251/1.253, allocations: 323.4 kB / 1.317 GB, free: 2.918 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/1.254, allocations: 493.3 kB / 1.317 GB, free: 2.613 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002383/1.256, allocations: 1.031 MB / 1.318 GB, free: 1.57 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.256, allocations: 0 / 1.318 GB, free: 1.57 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/1.258, allocations: 0.7815 MB / 1.319 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.26, allocations: 296.2 kB / 1.319 GB, free: 488 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007126/1.267, allocations: 4.142 MB / 1.323 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.268, allocations: 1.524 MB / 1.325 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/1.269, allocations: 71.42 kB / 1.325 GB, free: 10.68 MB / 1.061 GB Notification: Performance of SimCode: time 9.02e-07/1.269, allocations: 0 / 1.325 GB, free: 10.68 MB / 1.061 GB Notification: Performance of Templates: time 0.04969/1.318, allocations: 32.44 MB / 1.356 GB, free: 10.27 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[2],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[2],time