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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00126/0.00126, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001511/0.001511, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.5507, allocations: 140.4 MB / 0.949 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1517/0.7025, allocations: 154.5 MB / 1.1 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.7234, allocations: 21.6 MB / 1.121 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.7248, allocations: 47.75 kB / 1.121 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.7263, allocations: 1.138 MB / 1.122 GB, free: 376 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.7275, allocations: 0.8137 MB / 1.123 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009559/0.7284, allocations: 379.2 kB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.7296, allocations: 1.352 MB / 1.125 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006178/0.7303, allocations: 0.6103 MB / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.7308, allocations: 498.2 kB / 1.126 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008642/0.7317, allocations: 0.9098 MB / 1.127 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.7318, allocations: 36 kB / 1.127 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.732, allocations: 87.97 kB / 1.127 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.7322, allocations: 296.8 kB / 1.127 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.7326, allocations: 464.8 kB / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008886/0.7335, allocations: 1.152 MB / 1.129 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7335, allocations: 0 / 1.129 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.11e-07/0.7335, allocations: 4 kB / 1.129 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.7335, allocations: 0 / 1.129 GB, free: 9.781 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.002088/0.7356, allocations: 1.478 MB / 1.13 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.7357, allocations: 8.031 kB / 1.13 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.914e-05/0.7358, allocations: 86.7 kB / 1.13 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.736, allocations: 135.2 kB / 1.13 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007505/0.7367, allocations: 0.651 MB / 1.131 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.7368, allocations: 78.69 kB / 1.131 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.7369, allocations: 47.91 kB / 1.131 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009046/0.7379, allocations: 0.5223 MB / 1.131 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.7379, allocations: 4 kB / 1.131 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.7379, allocations: 16 kB / 1.131 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.7379, allocations: 15.98 kB / 1.132 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.7388, allocations: 407.7 kB / 1.132 GB, free: 6.211 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.003168/0.7419, allocations: 2.731 MB / 1.135 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008989/0.7428, allocations: 455.4 kB / 1.135 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/0.7435, allocations: 301.3 kB / 1.135 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.7435, allocations: 4.656 kB / 1.135 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005162/0.744, allocations: 287.3 kB / 1.136 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 1.924e-06/0.744, allocations: 0 / 1.136 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.002487/0.7465, allocations: 1.148 MB / 1.137 GB, free: 1 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.7466, allocations: 59.41 kB / 1.137 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.7483, allocations: 1.764 MB / 1.138 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.7483, allocations: 37.7 kB / 1.139 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.7487, allocations: 0.521 MB / 1.139 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.7488, allocations: 142 kB / 1.139 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.749, allocations: 102.2 kB / 1.139 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7491, allocations: 330 kB / 1.14 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.7496, allocations: 216.9 kB / 1.14 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.7501, allocations: 335.2 kB / 1.14 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.751, allocations: 0.5305 MB / 1.141 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.751, allocations: 0 / 1.141 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001412/0.7524, allocations: 0.7951 MB / 1.141 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7525, allocations: 8.219 kB / 1.141 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7525, allocations: 8 kB / 1.141 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000389/0.7529, allocations: 132.7 kB / 1.142 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.7532, allocations: 107.8 kB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.7558, allocations: 2.386 MB / 1.144 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.7562, allocations: 87.44 kB / 1.144 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.7562, allocations: 20 kB / 1.144 GB, free: 9.168 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.0004126/0.7567, allocations: 389.3 kB / 1.144 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.7568, allocations: 114.5 kB / 1.145 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.757, allocations: 135.7 kB / 1.145 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.757, allocations: 7.938 kB / 1.145 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.757, allocations: 4 kB / 1.145 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.757, allocations: 7.984 kB / 1.145 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.7592, allocations: 1.486 MB / 1.146 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7592, allocations: 0 / 1.146 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.7594, allocations: 51.78 kB / 1.146 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003855/0.7598, allocations: 165.6 kB / 1.146 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.7599, allocations: 15.98 kB / 1.146 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.7632, allocations: 3.688 MB / 1.15 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7632, allocations: 0 / 1.15 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.7648, allocations: 0.9906 MB / 1.151 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.765, allocations: 215.6 kB / 1.151 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.7651, allocations: 19.92 kB / 1.151 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.7655, allocations: 31.91 kB / 1.151 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.7656, allocations: 63.84 kB / 1.151 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.7657, allocations: 8 kB / 1.151 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00125/0.7669, allocations: 1.293 MB / 1.153 GB, free: 120 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7669, allocations: 0 / 1.153 GB, free: 120 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000673/0.7676, allocations: 199.6 kB / 1.153 GB, free: 15.92 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.002894/0.7705, allocations: 1.905 MB / 1.155 GB, free: 14.18 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.7718, allocations: 0.6667 MB / 1.155 GB, free: 13.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7718, allocations: 0 / 1.155 GB, free: 13.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007793/0.7726, allocations: 0.5244 MB / 1.156 GB, free: 12.95 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009621/0.7736, allocations: 184.3 kB / 1.156 GB, free: 12.77 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.7857, allocations: 9.354 MB / 1.165 GB, free: 2.984 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.7865, allocations: 1.149 MB / 1.166 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002947/0.7868, allocations: 100.8 kB / 1.166 GB, free: 1.707 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.7872, allocations: 403.3 kB / 1.167 GB, free: 1.312 MB / 0.92 GB Notification: Performance of SimCode: time 3.61e-07/0.7872, allocations: 8 kB / 1.167 GB, free: 1.305 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.8237, allocations: 19.73 MB / 1.186 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.8239, allocations: 286.4 kB / 1.186 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.007, allocations: 0 / 1.186 GB, free: 13.48 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)