Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 106.4 kB / 15.99 MB, free: 6.348 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.001311/0.001311, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.211/2.211, allocations: 390.2 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.19 kB / 0.8127 GB, free: 32.45 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2927, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.6614/0.9541, allocations: 154.6 MB / 1.101 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02594/0.9801, allocations: 21.5 MB / 1.122 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.9832, allocations: 49.91 kB / 1.122 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.9854, allocations: 1.13 MB / 1.123 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.9877, allocations: 0.8146 MB / 1.124 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.9892, allocations: 380.4 kB / 1.124 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002178/0.9914, allocations: 1.264 MB / 1.125 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.9926, allocations: 0.6815 MB / 1.126 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.9938, allocations: 0.5593 MB / 1.126 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.9954, allocations: 0.9529 MB / 1.127 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.9956, allocations: 68.12 kB / 1.127 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.996, allocations: 107.1 kB / 1.128 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.9964, allocations: 336.2 kB / 1.128 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004731/0.9968, allocations: 499.3 kB / 1.128 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.998, allocations: 0.9248 MB / 1.129 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.998, allocations: 2.016 kB / 1.129 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.998, allocations: 1.031 kB / 1.129 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.282e-05/0.9981, allocations: 0 / 1.129 GB, free: 6.238 MB / 0.8575 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.002921/1.001, allocations: 1.48 MB / 1.131 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.001, allocations: 10.12 kB / 1.131 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/1.001, allocations: 134.9 kB / 1.131 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008286/1.002, allocations: 0.6579 MB / 1.131 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/1.002, allocations: 78.41 kB / 1.132 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/1.002, allocations: 48.25 kB / 1.132 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009655/1.003, allocations: 0.5209 MB / 1.132 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/1.003, allocations: 1.281 kB / 1.132 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/1.003, allocations: 22.22 kB / 1.132 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/1.003, allocations: 10 kB / 1.132 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/1.004, allocations: 411.4 kB / 1.133 GB, free: 20.8 MB / 0.8731 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.003834/1.008, allocations: 2.735 MB / 1.135 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009271/1.009, allocations: 448.8 kB / 1.136 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/1.01, allocations: 314.2 kB / 1.136 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/1.01, allocations: 5.781 kB / 1.136 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005539/1.01, allocations: 284.8 kB / 1.136 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.936e-06/1.01, allocations: 0.9375 kB / 1.136 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.002777/1.013, allocations: 1.15 MB / 1.137 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/1.013, allocations: 57.09 kB / 1.137 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/1.015, allocations: 1.763 MB / 1.139 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/1.016, allocations: 36.73 kB / 1.139 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/1.016, allocations: 0.5273 MB / 1.14 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/1.016, allocations: 139.3 kB / 1.14 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/1.016, allocations: 102.3 kB / 1.14 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.016, allocations: 329.5 kB / 1.14 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/1.017, allocations: 210.8 kB / 1.14 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/1.017, allocations: 336.9 kB / 1.141 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/1.018, allocations: 0.5191 MB / 1.141 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.018, allocations: 2.281 kB / 1.141 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001753/1.02, allocations: 0.8052 MB / 1.142 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/1.02, allocations: 10.91 kB / 1.142 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.02, allocations: 7.375 kB / 1.142 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000428/1.021, allocations: 138.2 kB / 1.142 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/1.021, allocations: 105.2 kB / 1.142 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/1.024, allocations: 2.604 MB / 1.145 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/1.025, allocations: 87.16 kB / 1.145 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/1.025, allocations: 26.34 kB / 1.145 GB, free: 16.08 MB / 0.8731 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.0006962/1.026, allocations: 383.5 kB / 1.145 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/1.026, allocations: 116.8 kB / 1.145 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/1.026, allocations: 143.7 kB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.026, allocations: 5.438 kB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/1.026, allocations: 2.844 kB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.026, allocations: 2.141 kB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/1.029, allocations: 1.492 MB / 1.147 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.029, allocations: 0 / 1.147 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/1.029, allocations: 50.08 kB / 1.147 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000411/1.029, allocations: 158.2 kB / 1.147 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/1.029, allocations: 16.61 kB / 1.147 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/1.033, allocations: 4.026 MB / 1.151 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.033, allocations: 4.031 kB / 1.151 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/1.035, allocations: 0.9935 MB / 1.152 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/1.036, allocations: 210.1 kB / 1.152 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.036, allocations: 11.64 kB / 1.152 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/1.036, allocations: 45.45 kB / 1.152 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.036, allocations: 51.11 kB / 1.152 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/1.036, allocations: 16.64 kB / 1.152 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001819/1.038, allocations: 1.29 MB / 1.154 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.7e-07/1.038, allocations: 1.5 kB / 1.154 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001/1.039, allocations: 197.2 kB / 1.154 GB, free: 10.37 MB / 0.8731 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.001279/1.04, allocations: 481.8 kB / 1.154 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001728/1.042, allocations: 0.6952 MB / 1.155 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.042, allocations: 0 / 1.155 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009653/1.043, allocations: 0.5261 MB / 1.156 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/1.044, allocations: 215.4 kB / 1.156 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/1.048, allocations: 2.734 MB / 1.158 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/1.049, allocations: 1.147 MB / 1.16 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/1.049, allocations: 48.33 kB / 1.16 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of SimCode: time 7.11e-07/1.049, allocations: 2.906 kB / 1.16 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of Templates: time 0.03234/1.082, allocations: 17.8 MB / 1.177 GB, free: 1.797 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches