Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.007083/0.007083, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.00184/0.00184, allocations: 200.3 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.704/2.704, allocations: 469.8 MB / 0.7425 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 60.12 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2796, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.7098/0.9895, allocations: 156.7 MB / 1.373 GB, free: 10.51 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02636/1.016, allocations: 21.75 MB / 1.394 GB, free: 9.473 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/1.018, allocations: 49.78 kB / 1.395 GB, free: 9.457 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/1.019, allocations: 1.168 MB / 1.396 GB, free: 8.84 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/1.021, allocations: 0.8506 MB / 1.396 GB, free: 8.316 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/1.022, allocations: 446.2 kB / 1.397 GB, free: 7.961 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001379/1.023, allocations: 1.25 MB / 1.398 GB, free: 7.262 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008234/1.024, allocations: 0.6843 MB / 1.399 GB, free: 6.844 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007062/1.025, allocations: 0.5521 MB / 1.399 GB, free: 6.547 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/1.026, allocations: 0.9157 MB / 1.4 GB, free: 6.129 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/1.026, allocations: 64.69 kB / 1.4 GB, free: 6.129 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/1.026, allocations: 108.2 kB / 1.4 GB, free: 6.113 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/1.027, allocations: 321 kB / 1.401 GB, free: 5.91 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004597/1.027, allocations: 490.4 kB / 1.401 GB, free: 5.555 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/1.029, allocations: 1.205 MB / 1.402 GB, free: 4.719 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.029, allocations: 0 / 1.402 GB, free: 4.719 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.913e-06/1.029, allocations: 4 kB / 1.402 GB, free: 4.715 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.583e-05/1.029, allocations: 1.031 kB / 1.402 GB, free: 4.715 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.002421/1.031, allocations: 1.516 MB / 1.404 GB, free: 3.52 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.031, allocations: 10.22 kB / 1.404 GB, free: 3.52 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/1.031, allocations: 85.02 kB / 1.404 GB, free: 3.441 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/1.031, allocations: 144.6 kB / 1.404 GB, free: 3.363 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008831/1.032, allocations: 0.6799 MB / 1.405 GB, free: 2.789 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/1.032, allocations: 69.09 kB / 1.405 GB, free: 2.742 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/1.033, allocations: 46.97 kB / 1.405 GB, free: 2.727 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009155/1.033, allocations: 0.5219 MB / 1.405 GB, free: 2.398 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/1.033, allocations: 5.047 kB / 1.405 GB, free: 2.395 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/1.034, allocations: 19.94 kB / 1.405 GB, free: 2.379 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/1.034, allocations: 9.969 kB / 1.405 GB, free: 2.379 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009654/1.035, allocations: 410.5 kB / 1.406 GB, free: 2.188 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.00375/1.038, allocations: 2.798 MB / 1.409 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.039, allocations: 460.3 kB / 1.409 GB, free: 15.52 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/1.04, allocations: 287 kB / 1.409 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/1.04, allocations: 9.25 kB / 1.409 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005747/1.041, allocations: 305.5 kB / 1.41 GB, free: 15.18 MB / 1.107 GB Notification: Performance of pre-optimization done (n=45): time 3.526e-06/1.041, allocations: 0 / 1.41 GB, free: 15.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.003038/1.044, allocations: 1.247 MB / 1.411 GB, free: 14.41 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.044, allocations: 56.44 kB / 1.411 GB, free: 14.35 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/1.045, allocations: 1.75 MB / 1.412 GB, free: 13.56 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/1.046, allocations: 38.02 kB / 1.413 GB, free: 13.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004767/1.046, allocations: 0.5237 MB / 1.413 GB, free: 13.07 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/1.046, allocations: 151.6 kB / 1.413 GB, free: 12.94 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.046, allocations: 101.2 kB / 1.413 GB, free: 12.87 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.046, allocations: 329 kB / 1.414 GB, free: 12.55 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/1.047, allocations: 216.3 kB / 1.414 GB, free: 12.45 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/1.048, allocations: 325.3 kB / 1.414 GB, free: 12.22 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/1.048, allocations: 0.511 MB / 1.415 GB, free: 11.89 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.048, allocations: 1.344 kB / 1.415 GB, free: 11.89 MB / 1.107 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001623/1.05, allocations: 0.8602 MB / 1.415 GB, free: 11.43 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/1.05, allocations: 4.656 kB / 1.415 GB, free: 11.43 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.05, allocations: 5.125 kB / 1.415 GB, free: 11.43 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/1.051, allocations: 188.3 kB / 1.416 GB, free: 11.35 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/1.051, allocations: 91.47 kB / 1.416 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/1.054, allocations: 3.008 MB / 1.419 GB, free: 8.863 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/1.055, allocations: 75.67 kB / 1.419 GB, free: 8.816 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/1.055, allocations: 18.94 kB / 1.419 GB, free: 8.812 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005551/1.056, allocations: 388.6 kB / 1.419 GB, free: 8.57 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/1.056, allocations: 123.9 kB / 1.419 GB, free: 8.5 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/1.056, allocations: 140.4 kB / 1.419 GB, free: 8.418 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/1.056, allocations: 9.047 kB / 1.419 GB, free: 8.414 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.056, allocations: 2.625 kB / 1.419 GB, free: 8.414 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.056, allocations: 0 / 1.419 GB, free: 8.414 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/1.058, allocations: 1.574 MB / 1.421 GB, free: 7.031 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.058, allocations: 0 / 1.421 GB, free: 7.031 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/1.059, allocations: 39.97 kB / 1.421 GB, free: 6.992 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/1.059, allocations: 198.4 kB / 1.421 GB, free: 6.793 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/1.059, allocations: 19.98 kB / 1.421 GB, free: 6.773 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004555/1.064, allocations: 4.553 MB / 1.426 GB, free: 1.953 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.064, allocations: 4.031 kB / 1.426 GB, free: 1.949 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/1.066, allocations: 1.071 MB / 1.427 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/1.066, allocations: 224.2 kB / 1.427 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.186e-05/1.066, allocations: 12 kB / 1.427 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/1.066, allocations: 27.97 kB / 1.427 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.067, allocations: 51.92 kB / 1.427 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/1.067, allocations: 19.98 kB / 1.427 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001474/1.068, allocations: 1.281 MB / 1.428 GB, free: 15.22 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.068, allocations: 0 / 1.428 GB, free: 15.22 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000744/1.069, allocations: 195.8 kB / 1.428 GB, free: 15.03 MB / 1.123 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,13,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.003697/1.073, allocations: 1.99 MB / 1.43 GB, free: 13.2 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00151/1.074, allocations: 0.7192 MB / 1.431 GB, free: 12.46 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.074, allocations: 4.188 kB / 1.431 GB, free: 12.46 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008871/1.075, allocations: 0.5479 MB / 1.432 GB, free: 11.89 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009811/1.076, allocations: 211.3 kB / 1.432 GB, free: 11.7 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.088, allocations: 8.623 MB / 1.44 GB, free: 2.855 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008233/1.089, allocations: 1.153 MB / 1.441 GB, free: 1.676 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002756/1.089, allocations: 88.78 kB / 1.441 GB, free: 1.59 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/1.09, allocations: 411.3 kB / 1.442 GB, free: 1.188 MB / 1.123 GB Notification: Performance of SimCode: time 4.61e-07/1.09, allocations: 0 / 1.442 GB, free: 1.188 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/1.348, allocations: 21.24 MB / 1.463 GB, free: 12.26 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/18.24, allocations: 11.73 kB / 1.463 GB, free: 12.25 MB / 1.154 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)