Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_latest_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.004933/0.004933, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001265/0.001265, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 64.09 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2796, allocations: 162.3 MB / 1.242 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.7157/0.9954, allocations: 156.8 MB / 1.395 GB, free: 1.117 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03451/1.03, allocations: 21.76 MB / 1.416 GB, free: 15.29 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/1.031, allocations: 54.78 kB / 1.416 GB, free: 15.27 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/1.033, allocations: 1.163 MB / 1.417 GB, free: 14.65 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/1.034, allocations: 0.8558 MB / 1.418 GB, free: 14.12 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009426/1.035, allocations: 446.6 kB / 1.419 GB, free: 13.77 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001137/1.036, allocations: 1.256 MB / 1.42 GB, free: 13.07 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007142/1.037, allocations: 0.6749 MB / 1.421 GB, free: 12.67 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005565/1.037, allocations: 0.5516 MB / 1.421 GB, free: 12.37 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008794/1.038, allocations: 0.9161 MB / 1.422 GB, free: 11.96 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.806e-05/1.038, allocations: 65.84 kB / 1.422 GB, free: 11.96 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/1.039, allocations: 107 kB / 1.422 GB, free: 11.94 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002625/1.039, allocations: 320.5 kB / 1.422 GB, free: 11.74 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004146/1.039, allocations: 495.7 kB / 1.423 GB, free: 11.38 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/1.04, allocations: 1.208 MB / 1.424 GB, free: 10.54 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/1.04, allocations: 0 / 1.424 GB, free: 10.54 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.413e-06/1.04, allocations: 5.312 kB / 1.424 GB, free: 10.54 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.437e-05/1.04, allocations: 0 / 1.424 GB, free: 10.54 MB / 1.123 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.002133/1.043, allocations: 1.523 MB / 1.426 GB, free: 9.336 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/1.043, allocations: 10.19 kB / 1.426 GB, free: 9.336 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.377e-05/1.043, allocations: 86.42 kB / 1.426 GB, free: 9.258 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/1.043, allocations: 138.6 kB / 1.426 GB, free: 9.184 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007671/1.044, allocations: 0.6804 MB / 1.426 GB, free: 8.605 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/1.044, allocations: 67.53 kB / 1.427 GB, free: 8.559 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/1.044, allocations: 47.72 kB / 1.427 GB, free: 8.543 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/1.045, allocations: 0.5195 MB / 1.427 GB, free: 8.223 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/1.045, allocations: 0 / 1.427 GB, free: 8.223 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/1.045, allocations: 29.16 kB / 1.427 GB, free: 8.199 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.045, allocations: 9.531 kB / 1.427 GB, free: 8.199 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007475/1.045, allocations: 410.8 kB / 1.428 GB, free: 8.004 MB / 1.123 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.003212/1.049, allocations: 2.734 MB / 1.43 GB, free: 5.637 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/1.05, allocations: 440.6 kB / 1.431 GB, free: 5.406 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006052/1.05, allocations: 309.2 kB / 1.431 GB, free: 5.254 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/1.05, allocations: 7.578 kB / 1.431 GB, free: 5.25 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005415/1.051, allocations: 286 kB / 1.431 GB, free: 4.984 MB / 1.123 GB Notification: Performance of pre-optimization done (n=44): time 1.954e-06/1.051, allocations: 0 / 1.431 GB, free: 4.984 MB / 1.123 GB Notification: Performance of matching and sorting (n=44): time 0.002508/1.053, allocations: 1.148 MB / 1.432 GB, free: 3.785 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.053, allocations: 63.41 kB / 1.432 GB, free: 3.711 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/1.055, allocations: 1.764 MB / 1.434 GB, free: 1.938 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/1.055, allocations: 37.7 kB / 1.434 GB, free: 1.895 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/1.056, allocations: 0.5292 MB / 1.435 GB, free: 1.359 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/1.056, allocations: 150.7 kB / 1.435 GB, free: 1.211 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.056, allocations: 102.2 kB / 1.435 GB, free: 1.102 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.056, allocations: 326 kB / 1.435 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/1.057, allocations: 217 kB / 1.435 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/1.057, allocations: 335.1 kB / 1.436 GB, free: 200 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000895/1.058, allocations: 0.5175 MB / 1.436 GB, free: 15.63 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.058, allocations: 3.938 kB / 1.436 GB, free: 15.62 MB / 1.139 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001473/1.06, allocations: 0.8188 MB / 1.437 GB, free: 14.8 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.06, allocations: 8 kB / 1.437 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.06, allocations: 4 kB / 1.437 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003671/1.06, allocations: 137 kB / 1.437 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/1.06, allocations: 95.88 kB / 1.437 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/1.063, allocations: 2.611 MB / 1.44 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/1.063, allocations: 75.59 kB / 1.44 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/1.063, allocations: 20 kB / 1.44 GB, free: 11.71 MB / 1.139 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.0004189/1.064, allocations: 391.3 kB / 1.44 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/1.064, allocations: 127.1 kB / 1.44 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/1.064, allocations: 143.7 kB / 1.441 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.064, allocations: 4 kB / 1.441 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.064, allocations: 4 kB / 1.441 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.064, allocations: 3.984 kB / 1.441 GB, free: 11.03 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/1.067, allocations: 1.485 MB / 1.442 GB, free: 9.488 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.067, allocations: 0 / 1.442 GB, free: 9.488 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/1.067, allocations: 47.97 kB / 1.442 GB, free: 9.441 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003793/1.067, allocations: 161.5 kB / 1.442 GB, free: 9.277 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/1.067, allocations: 12 kB / 1.442 GB, free: 9.266 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/1.071, allocations: 4.037 MB / 1.446 GB, free: 4.957 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.071, allocations: 0 / 1.446 GB, free: 4.957 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/1.073, allocations: 0.9975 MB / 1.447 GB, free: 3.934 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/1.073, allocations: 216.3 kB / 1.447 GB, free: 3.703 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/1.073, allocations: 12 kB / 1.447 GB, free: 3.691 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/1.073, allocations: 27.97 kB / 1.447 GB, free: 3.664 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/1.073, allocations: 51.86 kB / 1.447 GB, free: 3.613 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/1.073, allocations: 23.92 kB / 1.447 GB, free: 3.59 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001329/1.075, allocations: 1.289 MB / 1.449 GB, free: 2.297 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.075, allocations: 0 / 1.449 GB, free: 2.297 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006026/1.075, allocations: 203.7 kB / 1.449 GB, free: 2.098 MB / 1.139 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.003371/1.079, allocations: 1.903 MB / 1.451 GB, free: 360 kB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.08, allocations: 0.6677 MB / 1.451 GB, free: 15.67 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.08, allocations: 3.938 kB / 1.451 GB, free: 15.67 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007783/1.081, allocations: 0.5282 MB / 1.452 GB, free: 15.11 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/1.082, allocations: 206.6 kB / 1.452 GB, free: 14.92 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.093, allocations: 8.543 MB / 1.46 GB, free: 6.148 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/1.094, allocations: 1.153 MB / 1.462 GB, free: 4.969 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002528/1.094, allocations: 92.78 kB / 1.462 GB, free: 4.879 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/1.094, allocations: 410.2 kB / 1.462 GB, free: 4.48 MB / 1.154 GB Notification: Performance of SimCode: time 3.8e-07/1.094, allocations: 0 / 1.462 GB, free: 4.48 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.693/1.787, allocations: 20.86 MB / 1.482 GB, free: 15.94 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.64, allocations: 15.05 kB / 1.482 GB, free: 15.93 MB / 1.186 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)