Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 108 kB / 15.6 MB, free: 132 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.0016/0.0016, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.74/2.74, allocations: 472.6 MB / 0.7451 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.23 kB / 0.9121 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3176, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1716/0.4892, allocations: 157 MB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.5163, allocations: 21.87 MB / 1.243 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.5187, allocations: 55.69 kB / 1.243 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.5206, allocations: 1.34 MB / 1.244 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.5225, allocations: 0.9691 MB / 1.245 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.524, allocations: 0.5057 MB / 1.246 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.5258, allocations: 1.426 MB / 1.247 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.5273, allocations: 0.7697 MB / 1.248 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.5285, allocations: 0.6425 MB / 1.249 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6118/1.14, allocations: 1.105 MB / 1.25 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003196/1.141, allocations: 71.53 kB / 1.25 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/1.141, allocations: 121.2 kB / 1.25 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/1.142, allocations: 373.2 kB / 1.25 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005962/1.142, allocations: 0.5589 MB / 1.251 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/1.144, allocations: 1.342 MB / 1.252 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.144, allocations: 0.8438 kB / 1.252 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.144, allocations: 0 / 1.252 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.416e-05/1.144, allocations: 0 / 1.252 GB, free: 8.621 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002487/1.146, allocations: 1.677 MB / 1.254 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/1.146, allocations: 9.438 kB / 1.254 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/1.147, allocations: 167.5 kB / 1.254 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007962/1.148, allocations: 0.7409 MB / 1.255 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/1.148, allocations: 81.02 kB / 1.255 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/1.148, allocations: 53.25 kB / 1.255 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.149, allocations: 0.5679 MB / 1.255 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/1.149, allocations: 3.141 kB / 1.255 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/1.149, allocations: 20.69 kB / 1.255 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/1.149, allocations: 11.41 kB / 1.255 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/1.15, allocations: 452.5 kB / 1.256 GB, free: 7.066 MB / 0.9981 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.004484/1.155, allocations: 3.016 MB / 1.259 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.156, allocations: 0.499 MB / 1.259 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/1.156, allocations: 316 kB / 1.259 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/1.156, allocations: 6.609 kB / 1.259 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005755/1.157, allocations: 327.4 kB / 1.26 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.494e-06/1.157, allocations: 0.9688 kB / 1.26 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.003064/1.16, allocations: 1.344 MB / 1.261 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003628/1.16, allocations: 64.31 kB / 1.261 GB, free: 21.01 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/1.163, allocations: 2.116 MB / 1.263 GB, free: 20.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.681e-05/1.163, allocations: 42.52 kB / 1.263 GB, free: 20.81 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/1.164, allocations: 0.6272 MB / 1.264 GB, free: 20.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/1.164, allocations: 168.7 kB / 1.264 GB, free: 20.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/1.164, allocations: 102.9 kB / 1.264 GB, free: 20.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.164, allocations: 337.7 kB / 1.264 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.165, allocations: 231.7 kB / 1.265 GB, free: 20.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/1.165, allocations: 344.9 kB / 1.265 GB, free: 20.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/1.166, allocations: 0.5476 MB / 1.265 GB, free: 20.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.166, allocations: 0 / 1.265 GB, free: 20.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001688/1.168, allocations: 0.9195 MB / 1.266 GB, free: 19.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.168, allocations: 8.562 kB / 1.266 GB, free: 19.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.168, allocations: 3.266 kB / 1.266 GB, free: 19.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005469/1.168, allocations: 201.5 kB / 1.267 GB, free: 19.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/1.169, allocations: 107.8 kB / 1.267 GB, free: 19.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/1.172, allocations: 3.045 MB / 1.27 GB, free: 18.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/1.173, allocations: 75.86 kB / 1.27 GB, free: 18.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/1.173, allocations: 29.17 kB / 1.27 GB, free: 18.32 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.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 (57): * Single equations (assignments): 56 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001007/1.174, allocations: 439.1 kB / 1.27 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/1.174, allocations: 133.2 kB / 1.27 GB, free: 18.13 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/1.175, allocations: 166.6 kB / 1.27 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/1.175, allocations: 7.344 kB / 1.27 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/1.175, allocations: 3.156 kB / 1.27 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.175, allocations: 4.328 kB / 1.27 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/1.178, allocations: 1.734 MB / 1.272 GB, free: 17.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.178, allocations: 0 / 1.272 GB, free: 17.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/1.178, allocations: 53 kB / 1.272 GB, free: 17.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005359/1.179, allocations: 206.7 kB / 1.272 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/1.179, allocations: 22.33 kB / 1.272 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/1.184, allocations: 4.606 MB / 1.277 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.184, allocations: 5.344 kB / 1.277 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/1.186, allocations: 1.162 MB / 1.278 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/1.186, allocations: 238.1 kB / 1.278 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/1.186, allocations: 18.22 kB / 1.278 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/1.187, allocations: 36.03 kB / 1.278 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.187, allocations: 57.89 kB / 1.278 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/1.187, allocations: 21.42 kB / 1.278 GB, free: 14.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001919/1.189, allocations: 1.547 MB / 1.28 GB, free: 14.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.173e-06/1.189, allocations: 0 / 1.28 GB, free: 14.17 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009053/1.19, allocations: 223.4 kB / 1.28 GB, free: 14.15 MB / 1.014 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001136/1.191, allocations: 486.8 kB / 1.281 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001687/1.192, allocations: 0.799 MB / 1.281 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.193, allocations: 0 / 1.281 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009417/1.193, allocations: 0.5916 MB / 1.282 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/1.195, allocations: 225.9 kB / 1.282 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/1.199, allocations: 2.814 MB / 1.285 GB, free: 12.74 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009889/1.2, allocations: 1.244 MB / 1.286 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003774/1.2, allocations: 106.1 kB / 1.286 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/1.2, allocations: 53.09 kB / 1.286 GB, free: 12.01 MB / 1.014 GB Notification: Performance of SimCode: time 2.51e-07/1.2, allocations: 0 / 1.286 GB, free: 12.01 MB / 1.014 GB Notification: Performance of Templates: time 0.02337/1.224, allocations: 11.44 MB / 1.297 GB, free: 11.32 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches