Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_11_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.007575/0.007575, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001949/0.00195, allocations: 193.3 kB / 16.67 MB, free: 5.93 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.731/2.731, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 59.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2769, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.7075/0.9844, allocations: 156.8 MB / 1.373 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02613/1.011, allocations: 21.74 MB / 1.394 GB, free: 9.492 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/1.013, allocations: 54.62 kB / 1.395 GB, free: 9.473 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/1.014, allocations: 1.16 MB / 1.396 GB, free: 8.863 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/1.016, allocations: 0.8543 MB / 1.396 GB, free: 8.336 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/1.017, allocations: 451.2 kB / 1.397 GB, free: 7.98 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001745/1.019, allocations: 1.253 MB / 1.398 GB, free: 7.277 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008578/1.02, allocations: 0.679 MB / 1.399 GB, free: 6.863 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007556/1.021, allocations: 0.5564 MB / 1.399 GB, free: 6.562 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/1.022, allocations: 0.915 MB / 1.4 GB, free: 6.145 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/1.022, allocations: 68.84 kB / 1.4 GB, free: 6.141 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/1.022, allocations: 108.7 kB / 1.4 GB, free: 6.125 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/1.022, allocations: 320.2 kB / 1.401 GB, free: 5.922 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004659/1.023, allocations: 494.6 kB / 1.401 GB, free: 5.562 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/1.024, allocations: 1.209 MB / 1.402 GB, free: 4.723 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.024, allocations: 0 / 1.402 GB, free: 4.723 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.273e-06/1.024, allocations: 0 / 1.402 GB, free: 4.723 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.231e-05/1.024, allocations: 0 / 1.402 GB, free: 4.723 MB / 1.092 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.002243/1.026, allocations: 1.517 MB / 1.404 GB, free: 3.527 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/1.026, allocations: 14.09 kB / 1.404 GB, free: 3.523 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.6e-05/1.027, allocations: 81.14 kB / 1.404 GB, free: 3.449 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/1.027, allocations: 145.1 kB / 1.404 GB, free: 3.371 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/1.028, allocations: 0.6711 MB / 1.405 GB, free: 2.805 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/1.028, allocations: 72.62 kB / 1.405 GB, free: 2.754 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/1.028, allocations: 47.75 kB / 1.405 GB, free: 2.738 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009204/1.029, allocations: 0.5175 MB / 1.405 GB, free: 2.414 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/1.029, allocations: 5.203 kB / 1.405 GB, free: 2.41 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/1.029, allocations: 16.03 kB / 1.405 GB, free: 2.398 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/1.029, allocations: 10.69 kB / 1.405 GB, free: 2.398 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008307/1.03, allocations: 422.5 kB / 1.406 GB, free: 2.195 MB / 1.092 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.003714/1.033, allocations: 2.724 MB / 1.408 GB, free: 15.83 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009888/1.034, allocations: 448.7 kB / 1.409 GB, free: 15.59 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006729/1.035, allocations: 312.5 kB / 1.409 GB, free: 15.44 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/1.035, allocations: 4.734 kB / 1.409 GB, free: 15.44 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005512/1.036, allocations: 285.5 kB / 1.409 GB, free: 15.25 MB / 1.107 GB Notification: Performance of pre-optimization done (n=44): time 2.435e-06/1.036, allocations: 0 / 1.409 GB, free: 15.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=44): time 0.002655/1.038, allocations: 1.15 MB / 1.411 GB, free: 14.55 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/1.038, allocations: 60.28 kB / 1.411 GB, free: 14.48 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/1.04, allocations: 1.767 MB / 1.412 GB, free: 13.68 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/1.04, allocations: 37.33 kB / 1.412 GB, free: 13.64 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/1.041, allocations: 0.5243 MB / 1.413 GB, free: 13.19 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/1.041, allocations: 153.8 kB / 1.413 GB, free: 13.06 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/1.041, allocations: 107.4 kB / 1.413 GB, free: 12.99 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.041, allocations: 326.9 kB / 1.413 GB, free: 12.67 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/1.042, allocations: 211.3 kB / 1.414 GB, free: 12.57 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/1.042, allocations: 340.8 kB / 1.414 GB, free: 12.32 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008809/1.043, allocations: 0.5205 MB / 1.414 GB, free: 11.96 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.043, allocations: 3.938 kB / 1.415 GB, free: 11.96 MB / 1.107 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001499/1.045, allocations: 0.8154 MB / 1.415 GB, free: 11.53 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.045, allocations: 4.875 kB / 1.415 GB, free: 11.53 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.045, allocations: 6.562 kB / 1.415 GB, free: 11.53 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/1.045, allocations: 136.8 kB / 1.415 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/1.045, allocations: 101.2 kB / 1.416 GB, free: 11.44 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/1.048, allocations: 2.603 MB / 1.418 GB, free: 9.207 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/1.049, allocations: 77.5 kB / 1.418 GB, free: 9.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/1.049, allocations: 23.5 kB / 1.418 GB, free: 9.152 MB / 1.107 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.0004947/1.049, allocations: 388.5 kB / 1.419 GB, free: 8.91 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/1.049, allocations: 127.9 kB / 1.419 GB, free: 8.836 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/1.049, allocations: 138.5 kB / 1.419 GB, free: 8.758 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.049, allocations: 2.469 kB / 1.419 GB, free: 8.758 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.05, allocations: 9.188 kB / 1.419 GB, free: 8.754 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/1.05, allocations: 3.984 kB / 1.419 GB, free: 8.75 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/1.052, allocations: 1.505 MB / 1.42 GB, free: 7.723 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.052, allocations: 0 / 1.42 GB, free: 7.723 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/1.052, allocations: 39.97 kB / 1.42 GB, free: 7.684 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/1.052, allocations: 161.6 kB / 1.42 GB, free: 7.52 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/1.052, allocations: 12 kB / 1.42 GB, free: 7.508 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/1.056, allocations: 4.031 MB / 1.424 GB, free: 3.203 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.056, allocations: 0 / 1.424 GB, free: 3.203 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/1.058, allocations: 1.001 MB / 1.425 GB, free: 2.184 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/1.058, allocations: 212.2 kB / 1.426 GB, free: 1.957 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.121e-05/1.058, allocations: 16 kB / 1.426 GB, free: 1.941 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/1.059, allocations: 35.97 kB / 1.426 GB, free: 1.906 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.059, allocations: 51.92 kB / 1.426 GB, free: 1.855 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/1.059, allocations: 19.92 kB / 1.426 GB, free: 1.836 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001431/1.06, allocations: 1.285 MB / 1.427 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.894e-06/1.06, allocations: 0 / 1.427 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006794/1.061, allocations: 199.7 kB / 1.427 GB, free: 360 kB / 1.107 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.003535/1.064, allocations: 1.924 MB / 1.429 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00133/1.066, allocations: 0.6635 MB / 1.43 GB, free: 13.91 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.066, allocations: 4 kB / 1.43 GB, free: 13.9 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008272/1.067, allocations: 0.5285 MB / 1.43 GB, free: 13.35 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009234/1.068, allocations: 196 kB / 1.43 GB, free: 13.16 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/1.079, allocations: 8.535 MB / 1.439 GB, free: 4.391 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/1.08, allocations: 1.153 MB / 1.44 GB, free: 3.211 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002894/1.08, allocations: 108.7 kB / 1.44 GB, free: 3.105 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/1.081, allocations: 411.2 kB / 1.44 GB, free: 2.707 MB / 1.123 GB Notification: Performance of SimCode: time 2.7e-07/1.081, allocations: 0 / 1.44 GB, free: 2.707 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7033/1.784, allocations: 20.84 MB / 1.461 GB, free: 14.17 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.64/18.42, allocations: 9.281 kB / 1.461 GB, free: 14.16 MB / 1.154 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)