Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.001184/0.001184, allocations: 101.4 kB / 15.7 MB, free: 28 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.001369/0.00137, allocations: 195.6 kB / 16.64 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 67.64 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1945, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5604/0.7549, allocations: 156.7 MB / 0.9367 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03208/0.787, allocations: 21.55 MB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.7902, allocations: 50.88 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.7922, allocations: 1.166 MB / 0.9589 GB, free: 4.484 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001995/0.7942, allocations: 0.8544 MB / 0.9598 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.7957, allocations: 405 kB / 0.9601 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002407/0.7981, allocations: 1.251 MB / 0.9614 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.7994, allocations: 0.6792 MB / 0.962 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.8007, allocations: 0.5493 MB / 0.9626 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.8022, allocations: 0.9111 MB / 0.9635 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.8024, allocations: 65.31 kB / 0.9635 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.8028, allocations: 111.8 kB / 0.9636 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.8031, allocations: 321.5 kB / 0.9639 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004637/0.8035, allocations: 487 kB / 0.9644 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.805, allocations: 1.198 MB / 0.9656 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.805, allocations: 3.703 kB / 0.9656 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.805, allocations: 4 kB / 0.9656 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.723e-05/0.8051, allocations: 0 / 0.9656 GB, free: 3.77 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002986/0.8081, allocations: 1.469 MB / 0.967 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.8081, allocations: 13.97 kB / 0.967 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.8082, allocations: 87.88 kB / 0.9671 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.8085, allocations: 131.4 kB / 0.9672 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.8093, allocations: 0.6659 MB / 0.9679 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.8095, allocations: 72.19 kB / 0.9679 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.187e-05/0.8096, allocations: 46.48 kB / 0.968 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009354/0.8105, allocations: 0.5182 MB / 0.9685 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.8106, allocations: 1.156 kB / 0.9685 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.8106, allocations: 17.84 kB / 0.9685 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.8106, allocations: 10.47 kB / 0.9685 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000815/0.8115, allocations: 410.5 kB / 0.9689 GB, free: 18.26 MB / 0.7325 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.004045/0.8155, allocations: 2.777 MB / 0.9716 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.8166, allocations: 467.3 kB / 0.9721 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/0.8172, allocations: 295 kB / 0.9724 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.8172, allocations: 7.766 kB / 0.9724 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005762/0.8178, allocations: 306.4 kB / 0.9727 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 3.858e-06/0.8178, allocations: 0 / 0.9727 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.003358/0.8212, allocations: 1.238 MB / 0.9739 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.8213, allocations: 55.94 kB / 0.9739 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.8233, allocations: 1.745 MB / 0.9756 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.319e-05/0.8234, allocations: 43.08 kB / 0.9757 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.8237, allocations: 0.5176 MB / 0.9762 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.8239, allocations: 148.1 kB / 0.9763 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.824, allocations: 98.5 kB / 0.9764 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8241, allocations: 326 kB / 0.9767 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.8246, allocations: 220.7 kB / 0.9769 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.8252, allocations: 321 kB / 0.9772 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.826, allocations: 0.5144 MB / 0.9777 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8261, allocations: 4 kB / 0.9777 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001728/0.8278, allocations: 0.8477 MB / 0.9786 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.8278, allocations: 4.719 kB / 0.9786 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8278, allocations: 7.156 kB / 0.9786 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/0.8284, allocations: 184.6 kB / 0.9787 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.8288, allocations: 93.97 kB / 0.9788 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.8324, allocations: 2.999 MB / 0.9818 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.8331, allocations: 75.62 kB / 0.9818 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.8331, allocations: 22.08 kB / 0.9819 GB, free: 10.69 MB / 0.7325 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,$PRE.mean.y,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.0006503/0.8338, allocations: 381.7 kB / 0.9822 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.8339, allocations: 113.5 kB / 0.9823 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.8342, allocations: 140.1 kB / 0.9825 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.8342, allocations: 9.688 kB / 0.9825 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.8342, allocations: 2.719 kB / 0.9825 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.8342, allocations: 6.516 kB / 0.9825 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.8367, allocations: 1.57 MB / 0.984 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.8367, allocations: 0 / 0.984 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.837, allocations: 46.98 kB / 0.9841 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/0.8374, allocations: 190.9 kB / 0.9842 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.8375, allocations: 21.17 kB / 0.9843 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/0.8419, allocations: 4.556 MB / 0.9887 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8419, allocations: 4.062 kB / 0.9887 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.8438, allocations: 1.057 MB / 0.9898 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.8441, allocations: 216.8 kB / 0.99 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.8443, allocations: 12.81 kB / 0.99 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.8446, allocations: 31.41 kB / 0.99 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.8447, allocations: 53.73 kB / 0.9901 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.8448, allocations: 22.39 kB / 0.9901 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001464/0.8462, allocations: 1.273 MB / 0.9913 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8463, allocations: 0 / 0.9913 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001027/0.8473, allocations: 203.1 kB / 0.9915 GB, free: 3.832 MB / 0.7325 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) * 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.003427/0.8507, allocations: 1.971 MB / 0.9934 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.8524, allocations: 0.7236 MB / 0.9941 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8524, allocations: 2.125 kB / 0.9941 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.8534, allocations: 0.5509 MB / 0.9947 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.8546, allocations: 198.3 kB / 0.9949 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.8673, allocations: 8.564 MB / 1.003 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007056/0.8681, allocations: 1.151 MB / 1.004 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002934/0.8684, allocations: 92.67 kB / 1.004 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.8688, allocations: 408.4 kB / 1.005 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of SimCode: time 7.32e-07/0.8688, allocations: 0 / 1.005 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04823/0.9171, allocations: 20.87 MB / 1.025 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.09, allocations: 8.688 kB / 1.025 GB, free: 10.77 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)