Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_10_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.001052/0.001056, allocations: 111.9 kB / 15.61 MB, free: 128 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.001078/0.001078, allocations: 192.7 kB / 16.53 MB, free: 6.668 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.229/1.229, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.91 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6169, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1617/0.7786, allocations: 156.7 MB / 1.17 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.8028, allocations: 21.74 MB / 1.192 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.8048, allocations: 55.69 kB / 1.192 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.8065, allocations: 1.165 MB / 1.193 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.8081, allocations: 0.8523 MB / 1.194 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.8094, allocations: 442.5 kB / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.811, allocations: 1.255 MB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.812, allocations: 0.6813 MB / 1.196 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008657/0.8129, allocations: 0.553 MB / 1.197 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.814, allocations: 0.9138 MB / 1.197 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.8142, allocations: 64 kB / 1.198 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.8146, allocations: 112 kB / 1.198 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.8149, allocations: 320.7 kB / 1.198 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005314/0.8154, allocations: 492.8 kB / 1.198 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.8166, allocations: 1.176 MB / 1.2 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.8166, allocations: 0 / 1.2 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8166, allocations: 0 / 1.2 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.848e-05/0.8167, allocations: 7.984 kB / 1.2 GB, free: 7.223 MB / 0.9512 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.002546/0.8192, allocations: 1.482 MB / 1.201 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.8193, allocations: 8.031 kB / 1.201 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.8194, allocations: 82.7 kB / 1.201 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.8197, allocations: 131.3 kB / 1.201 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008944/0.8206, allocations: 0.6547 MB / 1.202 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.8207, allocations: 70.69 kB / 1.202 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.8208, allocations: 51.98 kB / 1.202 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009479/0.8218, allocations: 0.5262 MB / 1.203 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.8218, allocations: 0 / 1.203 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.8218, allocations: 16 kB / 1.203 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.8219, allocations: 12 kB / 1.203 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/0.8227, allocations: 415.7 kB / 1.203 GB, free: 3.656 MB / 0.9512 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.003589/0.8263, allocations: 2.731 MB / 1.206 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009778/0.8273, allocations: 454.5 kB / 1.206 GB, free: 244 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006346/0.828, allocations: 305.9 kB / 1.206 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.828, allocations: 4.656 kB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005271/0.8285, allocations: 295.3 kB / 1.207 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=44): time 3.015e-06/0.8286, allocations: 0 / 1.207 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44): time 0.002768/0.8313, allocations: 1.145 MB / 1.208 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.8314, allocations: 59.41 kB / 1.208 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/0.8338, allocations: 1.76 MB / 1.21 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.8339, allocations: 37.7 kB / 1.21 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/0.8344, allocations: 0.5288 MB / 1.21 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.8345, allocations: 142 kB / 1.21 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.8348, allocations: 94.25 kB / 1.21 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8349, allocations: 330 kB / 1.211 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.8354, allocations: 220.9 kB / 1.211 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.836, allocations: 347.1 kB / 1.211 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009614/0.837, allocations: 0.5105 MB / 1.212 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.837, allocations: 0 / 1.212 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001725/0.8387, allocations: 0.8146 MB / 1.212 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.8388, allocations: 5.719 kB / 1.212 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.8388, allocations: 4 kB / 1.212 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.8393, allocations: 136.9 kB / 1.213 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.8397, allocations: 107.8 kB / 1.213 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.8427, allocations: 2.609 MB / 1.215 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/0.8433, allocations: 71.48 kB / 1.215 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.8433, allocations: 20 kB / 1.215 GB, free: 6.379 MB / 0.9669 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.0005283/0.8439, allocations: 391.4 kB / 1.216 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.844, allocations: 118.4 kB / 1.216 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.8443, allocations: 143.7 kB / 1.216 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.8443, allocations: 4 kB / 1.216 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.8443, allocations: 4 kB / 1.216 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.8443, allocations: 0 / 1.216 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.8467, allocations: 1.496 MB / 1.217 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8467, allocations: 4 kB / 1.217 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.8469, allocations: 47.89 kB / 1.217 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/0.8473, allocations: 165.1 kB / 1.218 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.8474, allocations: 11.98 kB / 1.218 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/0.8508, allocations: 4.023 MB / 1.222 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8508, allocations: 0 / 1.222 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.8525, allocations: 0.9949 MB / 1.223 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.8528, allocations: 219.5 kB / 1.223 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.8529, allocations: 12 kB / 1.223 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.8533, allocations: 31.97 kB / 1.223 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.8534, allocations: 51.86 kB / 1.223 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.8535, allocations: 12 kB / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001377/0.8548, allocations: 1.297 MB / 1.224 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.483e-06/0.8549, allocations: 0 / 1.224 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007221/0.8556, allocations: 187.7 kB / 1.224 GB, free: 12.8 MB / 0.9825 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.002891/0.8585, allocations: 1.91 MB / 1.226 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.86, allocations: 0.6983 MB / 1.227 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.86, allocations: 0 / 1.227 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008014/0.8608, allocations: 0.5283 MB / 1.227 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.8618, allocations: 205.1 kB / 1.228 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.8744, allocations: 9.064 MB / 1.236 GB, free: 96 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/0.8752, allocations: 1.149 MB / 1.238 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003348/0.8755, allocations: 92.72 kB / 1.238 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.876, allocations: 403.3 kB / 1.238 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/0.876, allocations: 0 / 1.238 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5616/1.438, allocations: 20.48 MB / 1.258 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.494/10.93, allocations: 11.09 kB / 1.258 GB, free: 234.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)