Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TestCase6,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.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_9_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.001097/0.001097, allocations: 110 kB / 16.41 MB, free: 6.5 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.001105/0.001105, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 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.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 67.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9805/0.9821, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.2157/1.198, allocations: 157 MB / 1.242 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02936/1.227, allocations: 21.87 MB / 1.263 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003917/1.231, allocations: 63.69 kB / 1.263 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/1.233, allocations: 1.336 MB / 1.265 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002376/1.236, allocations: 0.9965 MB / 1.266 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/1.238, allocations: 0.5022 MB / 1.266 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002444/1.24, allocations: 1.442 MB / 1.268 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/1.242, allocations: 0.7846 MB / 1.268 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/1.243, allocations: 0.6542 MB / 1.269 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/1.245, allocations: 1.102 MB / 1.27 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002814/1.245, allocations: 72 kB / 1.27 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/1.245, allocations: 116 kB / 1.27 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004171/1.246, allocations: 380.5 kB / 1.271 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008169/1.247, allocations: 0.5549 MB / 1.271 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/1.248, allocations: 1.36 MB / 1.272 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.248, allocations: 4 kB / 1.272 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/1.248, allocations: 0 / 1.272 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.122e-05/1.248, allocations: 0 / 1.272 GB, free: 1.426 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.00341/1.252, allocations: 1.683 MB / 1.274 GB, free: 15.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.252, allocations: 12.03 kB / 1.274 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/1.252, allocations: 159 kB / 1.274 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/1.254, allocations: 0.7593 MB / 1.275 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/1.254, allocations: 74.69 kB / 1.275 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/1.254, allocations: 55.91 kB / 1.275 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/1.255, allocations: 0.5692 MB / 1.276 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/1.255, allocations: 0 / 1.276 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/1.255, allocations: 23.98 kB / 1.276 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/1.255, allocations: 12 kB / 1.276 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009335/1.256, allocations: 443.7 kB / 1.276 GB, free: 13.52 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.004126/1.26, allocations: 3.002 MB / 1.279 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/1.261, allocations: 495.6 kB / 1.28 GB, free: 9.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/1.262, allocations: 318.3 kB / 1.28 GB, free: 9.438 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/1.262, allocations: 8.375 kB / 1.28 GB, free: 9.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006426/1.263, allocations: 333.1 kB / 1.28 GB, free: 9.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=52): time 2.185e-06/1.263, allocations: 0 / 1.28 GB, free: 9.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=52): time 0.003206/1.266, allocations: 1.36 MB / 1.281 GB, free: 7.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.266, allocations: 59.83 kB / 1.282 GB, free: 7.609 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/1.268, allocations: 2.108 MB / 1.284 GB, free: 5.488 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/1.268, allocations: 45.69 kB / 1.284 GB, free: 5.438 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/1.269, allocations: 0.6245 MB / 1.284 GB, free: 4.805 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/1.269, allocations: 165.8 kB / 1.284 GB, free: 4.641 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/1.269, allocations: 110.3 kB / 1.285 GB, free: 4.527 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.269, allocations: 326 kB / 1.285 GB, free: 4.203 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/1.27, allocations: 237.2 kB / 1.285 GB, free: 3.969 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/1.271, allocations: 345.8 kB / 1.285 GB, free: 3.594 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009909/1.272, allocations: 0.5398 MB / 1.286 GB, free: 3.016 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.272, allocations: 0 / 1.286 GB, free: 3.016 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001836/1.273, allocations: 0.9239 MB / 1.287 GB, free: 2.086 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.273, allocations: 10.5 kB / 1.287 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.273, allocations: 4 kB / 1.287 GB, free: 2.074 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/1.274, allocations: 192.8 kB / 1.287 GB, free: 1.883 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/1.274, allocations: 111.7 kB / 1.287 GB, free: 1.773 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/1.278, allocations: 3.05 MB / 1.29 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/1.279, allocations: 75.48 kB / 1.29 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/1.279, allocations: 20.06 kB / 1.29 GB, free: 14.49 MB / 1.029 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.0005535/1.279, allocations: 439.8 kB / 1.291 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/1.279, allocations: 138.2 kB / 1.291 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/1.28, allocations: 162 kB / 1.291 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.28, allocations: 11.94 kB / 1.291 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/1.28, allocations: 4 kB / 1.291 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.28, allocations: 3.984 kB / 1.291 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/1.283, allocations: 1.738 MB / 1.293 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.283, allocations: 0 / 1.293 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/1.283, allocations: 55.89 kB / 1.293 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/1.283, allocations: 196 kB / 1.293 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/1.283, allocations: 11.98 kB / 1.293 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0044/1.288, allocations: 4.611 MB / 1.297 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.288, allocations: 0 / 1.297 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/1.29, allocations: 1.167 MB / 1.299 GB, free: 5.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/1.29, allocations: 243.2 kB / 1.299 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/1.29, allocations: 15.98 kB / 1.299 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/1.291, allocations: 27.97 kB / 1.299 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.291, allocations: 60.59 kB / 1.299 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/1.291, allocations: 19.98 kB / 1.299 GB, free: 5.203 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001724/1.293, allocations: 1.545 MB / 1.3 GB, free: 3.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.293, allocations: 0 / 1.3 GB, free: 3.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008625/1.293, allocations: 219.6 kB / 1.301 GB, free: 3.445 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: 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.001225/1.295, allocations: 493.8 kB / 1.301 GB, free: 3.141 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001658/1.296, allocations: 0.749 MB / 1.302 GB, free: 2.379 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.296, allocations: 0 / 1.302 GB, free: 2.379 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000997/1.297, allocations: 0.5936 MB / 1.302 GB, free: 1.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/1.299, allocations: 231.6 kB / 1.303 GB, free: 1.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/1.303, allocations: 2.837 MB / 1.305 GB, free: 14.67 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/1.305, allocations: 1.236 MB / 1.307 GB, free: 13.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/1.305, allocations: 51.42 kB / 1.307 GB, free: 13.36 MB / 1.045 GB Notification: Performance of SimCode: time 6.02e-07/1.305, allocations: 0 / 1.307 GB, free: 13.36 MB / 1.045 GB Notification: Performance of Templates: time 0.0305/1.335, allocations: 20.47 MB / 1.327 GB, free: 8.91 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches