Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_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.004396/0.004396, allocations: 95.7 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.001063/0.001063, allocations: 197.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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002289/0.002289, allocations: 286.4 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9441/0.9441, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 91.86 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1462, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.466/0.6122, allocations: 156.7 MB / 0.9189 GB, free: 6.5 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02301/0.6353, allocations: 21.77 MB / 0.9402 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.6369, allocations: 51.75 kB / 0.9402 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.6386, allocations: 1.165 MB / 0.9414 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.6401, allocations: 0.8602 MB / 0.9422 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.6412, allocations: 452.3 kB / 0.9427 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.6425, allocations: 1.259 MB / 0.9439 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007584/0.6433, allocations: 0.6833 MB / 0.9445 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006562/0.644, allocations: 0.5607 MB / 0.9451 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009305/0.6449, allocations: 0.9138 MB / 0.946 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.475e-05/0.645, allocations: 64 kB / 0.946 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.6452, allocations: 112 kB / 0.9462 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.6455, allocations: 316.7 kB / 0.9465 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.6459, allocations: 496.8 kB / 0.9469 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.647, allocations: 1.203 MB / 0.9481 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.647, allocations: 0 / 0.9481 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.683e-06/0.647, allocations: 0 / 0.9481 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.6471, allocations: 4 kB / 0.9481 GB, free: 8.551 MB / 0.7012 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.002136/0.6492, allocations: 1.525 MB / 0.9496 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6492, allocations: 8.031 kB / 0.9496 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.076e-05/0.6493, allocations: 82.72 kB / 0.9497 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.6495, allocations: 144 kB / 0.9498 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008222/0.6503, allocations: 0.6718 MB / 0.9505 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.6505, allocations: 78.62 kB / 0.9506 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.6505, allocations: 44 kB / 0.9506 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.6514, allocations: 0.5184 MB / 0.9511 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.6515, allocations: 4 kB / 0.9511 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.6515, allocations: 23.92 kB / 0.9511 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.6515, allocations: 8 kB / 0.9511 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/0.6524, allocations: 419.6 kB / 0.9515 GB, free: 4.906 MB / 0.7012 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.00333/0.6557, allocations: 2.796 MB / 0.9543 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009844/0.6567, allocations: 462 kB / 0.9547 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/0.6573, allocations: 288.4 kB / 0.955 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.6573, allocations: 4.328 kB / 0.955 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005559/0.6579, allocations: 298.8 kB / 0.9553 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=45): time 2.585e-06/0.6579, allocations: 0 / 0.9553 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.002858/0.6607, allocations: 1.245 MB / 0.9565 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6608, allocations: 59.41 kB / 0.9565 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.6625, allocations: 1.752 MB / 0.9583 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.6625, allocations: 37.7 kB / 0.9583 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.6629, allocations: 0.5222 MB / 0.9588 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.663, allocations: 150.8 kB / 0.9589 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.6632, allocations: 106.2 kB / 0.959 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.6633, allocations: 322 kB / 0.9594 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.6638, allocations: 217 kB / 0.9596 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/0.6643, allocations: 328.8 kB / 0.9599 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/0.6652, allocations: 0.5067 MB / 0.9604 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6652, allocations: 3.938 kB / 0.9604 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001591/0.6668, allocations: 0.8565 MB / 0.9612 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.6668, allocations: 4 kB / 0.9612 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6668, allocations: 4 kB / 0.9612 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.6674, allocations: 195.5 kB / 0.9614 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.6677, allocations: 91.81 kB / 0.9615 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/0.671, allocations: 2.994 MB / 0.9644 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.6714, allocations: 71.64 kB / 0.9645 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.6715, allocations: 23.94 kB / 0.9645 GB, free: 7.047 MB / 0.7169 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.0004391/0.6719, allocations: 391.2 kB / 0.9649 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.672, allocations: 123.2 kB / 0.965 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.6722, allocations: 139.7 kB / 0.9651 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6723, allocations: 8 kB / 0.9651 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.6723, allocations: 0 / 0.9651 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.6723, allocations: 7.969 kB / 0.9651 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.6746, allocations: 1.568 MB / 0.9667 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6746, allocations: 4 kB / 0.9667 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.6749, allocations: 51.91 kB / 0.9667 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.6754, allocations: 189.6 kB / 0.9669 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.6754, allocations: 8 kB / 0.9669 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004047/0.6795, allocations: 4.549 MB / 0.9714 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6795, allocations: 0 / 0.9714 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.6813, allocations: 1.079 MB / 0.9724 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.6816, allocations: 220.2 kB / 0.9726 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6817, allocations: 15.98 kB / 0.9726 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.682, allocations: 27.97 kB / 0.9727 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.6822, allocations: 55.92 kB / 0.9727 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.6822, allocations: 12 kB / 0.9727 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001369/0.6836, allocations: 1.284 MB / 0.974 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6836, allocations: 0 / 0.974 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007467/0.6843, allocations: 199.7 kB / 0.9742 GB, free: 12.74 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_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.003032/0.6874, allocations: 1.996 MB / 0.9761 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.6889, allocations: 0.7154 MB / 0.9768 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6889, allocations: 3.938 kB / 0.9768 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008905/0.6898, allocations: 0.5554 MB / 0.9774 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009942/0.6908, allocations: 200.7 kB / 0.9776 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.7028, allocations: 8.608 MB / 0.986 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007715/0.7036, allocations: 1.157 MB / 0.9871 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002777/0.7039, allocations: 100.7 kB / 0.9872 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.7044, allocations: 404.7 kB / 0.9876 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.7044, allocations: 0 / 0.9876 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0479/0.7523, allocations: 21.25 MB / 1.008 GB, free: 10 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.74, allocations: 15.17 kB / 1.008 GB, free: 9.988 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)