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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, 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.001249/0.001249, allocations: 198.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.192/1.192, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.095/2.095, allocations: 390.2 MB / 0.6647 GB, free: 320 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5255, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1467/0.6723, allocations: 156.7 MB / 1.103 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.6936, allocations: 21.75 MB / 1.124 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.6948, allocations: 51.75 kB / 1.124 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.6962, allocations: 1.161 MB / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.6973, allocations: 0.8485 MB / 1.126 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008499/0.6982, allocations: 444.8 kB / 1.126 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009991/0.6992, allocations: 1.247 MB / 1.128 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006972/0.6999, allocations: 0.6853 MB / 1.128 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005136/0.7004, allocations: 0.553 MB / 1.129 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/0.7013, allocations: 0.9138 MB / 1.13 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.763e-05/0.7014, allocations: 64 kB / 1.13 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.7016, allocations: 116 kB / 1.13 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.7018, allocations: 320.7 kB / 1.13 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.7022, allocations: 488.8 kB / 1.131 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009169/0.7031, allocations: 1.183 MB / 1.132 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.7031, allocations: 0 / 1.132 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7032, allocations: 0 / 1.132 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.7032, allocations: 0 / 1.132 GB, free: 6.621 MB / 0.8887 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.001942/0.7051, allocations: 1.486 MB / 1.133 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.7051, allocations: 8.031 kB / 1.133 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.017e-05/0.7052, allocations: 78.72 kB / 1.133 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.7054, allocations: 139.2 kB / 1.134 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/0.7061, allocations: 0.651 MB / 1.134 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.7062, allocations: 78.62 kB / 1.134 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.7063, allocations: 51.91 kB / 1.134 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/0.7072, allocations: 0.5184 MB / 1.135 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.7072, allocations: 4 kB / 1.135 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.7072, allocations: 16 kB / 1.135 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.7073, allocations: 8 kB / 1.135 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007837/0.708, allocations: 415.7 kB / 1.135 GB, free: 3.043 MB / 0.8887 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.003066/0.7111, allocations: 2.739 MB / 1.138 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008983/0.712, allocations: 450.6 kB / 1.138 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.7126, allocations: 305.3 kB / 1.139 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.7127, allocations: 8.641 kB / 1.139 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.7132, allocations: 283 kB / 1.139 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 1.823e-06/0.7132, allocations: 0 / 1.139 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.002406/0.7156, allocations: 1.148 MB / 1.14 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.7157, allocations: 59.41 kB / 1.14 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.7173, allocations: 1.768 MB / 1.142 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.7173, allocations: 33.7 kB / 1.142 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.7177, allocations: 0.5249 MB / 1.142 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.7178, allocations: 146 kB / 1.142 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.7179, allocations: 94.25 kB / 1.143 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7181, allocations: 334 kB / 1.143 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004463/0.7185, allocations: 209 kB / 1.143 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.719, allocations: 339.1 kB / 1.143 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008475/0.7199, allocations: 0.5236 MB / 1.144 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7199, allocations: 4 kB / 1.144 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001398/0.7213, allocations: 0.7972 MB / 1.145 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.7213, allocations: 8 kB / 1.145 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.7213, allocations: 4 kB / 1.145 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.7217, allocations: 140.9 kB / 1.145 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.7221, allocations: 107.9 kB / 1.145 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.7246, allocations: 2.604 MB / 1.148 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.725, allocations: 79.39 kB / 1.148 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.7251, allocations: 20 kB / 1.148 GB, free: 5.777 MB / 0.9044 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.0003787/0.7254, allocations: 389.2 kB / 1.148 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.7256, allocations: 122.5 kB / 1.148 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.7258, allocations: 143.7 kB / 1.148 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.7258, allocations: 4 kB / 1.148 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.7258, allocations: 8 kB / 1.148 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.7258, allocations: 3.984 kB / 1.148 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.7279, allocations: 1.482 MB / 1.15 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.7279, allocations: 0 / 1.15 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.7281, allocations: 47.97 kB / 1.15 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003581/0.7285, allocations: 165.6 kB / 1.15 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.7285, allocations: 11.98 kB / 1.15 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/0.7319, allocations: 4.028 MB / 1.154 GB, free: 15.04 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7319, allocations: 3.984 kB / 1.154 GB, free: 15.04 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.7334, allocations: 0.9828 MB / 1.155 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.7337, allocations: 211.6 kB / 1.155 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.7338, allocations: 15.98 kB / 1.155 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.7341, allocations: 31.91 kB / 1.155 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.7342, allocations: 59.86 kB / 1.155 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.7342, allocations: 12 kB / 1.155 GB, free: 13.69 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001225/0.7355, allocations: 1.289 MB / 1.156 GB, free: 12.39 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7355, allocations: 0 / 1.156 GB, free: 12.39 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005989/0.7361, allocations: 203.8 kB / 1.157 GB, free: 12.2 MB / 0.92 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.002742/0.7388, allocations: 1.909 MB / 1.158 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.7402, allocations: 0.6997 MB / 1.159 GB, free: 9.734 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7402, allocations: 0 / 1.159 GB, free: 9.734 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007383/0.7409, allocations: 0.5171 MB / 1.16 GB, free: 9.191 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008755/0.7418, allocations: 201.1 kB / 1.16 GB, free: 9 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.7528, allocations: 9.087 MB / 1.169 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/0.7535, allocations: 1.146 MB / 1.17 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002704/0.7538, allocations: 96.78 kB / 1.17 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.7542, allocations: 403.3 kB / 1.17 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of SimCode: time 1.452e-06/0.7542, allocations: 0 / 1.17 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1803/0.9345, allocations: 20.47 MB / 1.19 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.129/10.06, allocations: 23.38 kB / 1.19 GB, free: 9.605 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)