Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_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.007187/0.007186, allocations: 96.7 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.001862/0.001862, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002439, allocations: 275.2 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003849/0.003849, allocations: 107.8 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1711, allocations: 86.97 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.471/0.6422, allocations: 156.7 MB / 0.9189 GB, free: 6.473 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02637/0.6686, allocations: 21.77 MB / 0.9402 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.6702, allocations: 51.69 kB / 0.9402 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.6719, allocations: 1.161 MB / 0.9414 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.6734, allocations: 0.8523 MB / 0.9422 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.6745, allocations: 443.3 kB / 0.9426 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.6759, allocations: 1.26 MB / 0.9439 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008478/0.6767, allocations: 0.6861 MB / 0.9445 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006773/0.6774, allocations: 0.5491 MB / 0.9451 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.6785, allocations: 0.9177 MB / 0.946 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.6787, allocations: 68 kB / 0.946 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.6789, allocations: 104 kB / 0.9461 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.6792, allocations: 320.7 kB / 0.9464 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.6797, allocations: 488.8 kB / 0.9469 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.681, allocations: 1.203 MB / 0.9481 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.681, allocations: 0 / 0.9481 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.192e-06/0.681, allocations: 4 kB / 0.9481 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.681, allocations: 0 / 0.9481 GB, free: 8.562 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.002353/0.6834, allocations: 1.532 MB / 0.9496 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6834, allocations: 12.03 kB / 0.9496 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.6836, allocations: 78.72 kB / 0.9497 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.6837, allocations: 144 kB / 0.9498 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008981/0.6846, allocations: 0.6756 MB / 0.9505 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.6848, allocations: 70.69 kB / 0.9505 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.541e-05/0.6849, allocations: 48 kB / 0.9506 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/0.6859, allocations: 0.5184 MB / 0.9511 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.6859, allocations: 3.938 kB / 0.9511 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.686, allocations: 27.97 kB / 0.9511 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.686, allocations: 15.94 kB / 0.9511 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008891/0.6869, allocations: 403.7 kB / 0.9515 GB, free: 4.914 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.003744/0.6906, allocations: 2.8 MB / 0.9542 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.6917, allocations: 453.3 kB / 0.9547 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.6923, allocations: 288.4 kB / 0.9549 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.6924, allocations: 8.312 kB / 0.9549 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006027/0.693, allocations: 302.7 kB / 0.9552 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=45): time 2.495e-06/0.693, allocations: 0 / 0.9552 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.003084/0.6961, allocations: 1.241 MB / 0.9565 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.6961, allocations: 55.41 kB / 0.9565 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.6981, allocations: 1.759 MB / 0.9582 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.6982, allocations: 37.7 kB / 0.9583 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.6987, allocations: 0.5183 MB / 0.9588 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.6988, allocations: 158.7 kB / 0.9589 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.699, allocations: 102.2 kB / 0.959 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6992, allocations: 322 kB / 0.9593 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.6997, allocations: 221 kB / 0.9595 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.7003, allocations: 320.9 kB / 0.9598 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/0.7012, allocations: 0.5065 MB / 0.9603 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.7013, allocations: 3.938 kB / 0.9603 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001791/0.7031, allocations: 0.8604 MB / 0.9612 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7031, allocations: 8 kB / 0.9612 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7031, allocations: 0 / 0.9612 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/0.7036, allocations: 195.7 kB / 0.9614 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.704, allocations: 96.31 kB / 0.9615 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003788/0.7078, allocations: 2.995 MB / 0.9644 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.7083, allocations: 67.64 kB / 0.9645 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.7083, allocations: 20.06 kB / 0.9645 GB, free: 7.055 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.0004985/0.7088, allocations: 399.2 kB / 0.9649 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.709, allocations: 127.2 kB / 0.965 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.7092, allocations: 139.7 kB / 0.9651 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.7092, allocations: 4 kB / 0.9651 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.7092, allocations: 8 kB / 0.9651 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.7093, allocations: 7.922 kB / 0.9651 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.7119, allocations: 1.56 MB / 0.9666 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.7119, allocations: 0 / 0.9666 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.7121, allocations: 47.91 kB / 0.9667 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005061/0.7126, allocations: 190.3 kB / 0.9669 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.7127, allocations: 16 kB / 0.9669 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004858/0.7175, allocations: 4.549 MB / 0.9713 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7176, allocations: 3.938 kB / 0.9713 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.7195, allocations: 1.075 MB / 0.9724 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.7198, allocations: 216.3 kB / 0.9726 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.22e-05/0.7199, allocations: 15.98 kB / 0.9726 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.7203, allocations: 23.97 kB / 0.9726 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.7204, allocations: 55.92 kB / 0.9727 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.7204, allocations: 20 kB / 0.9727 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001483/0.7219, allocations: 1.284 MB / 0.974 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7219, allocations: 0 / 0.974 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000758/0.7227, allocations: 203.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.003909/0.7266, allocations: 1.99 MB / 0.9761 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.7282, allocations: 0.7191 MB / 0.9768 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7282, allocations: 4.25 kB / 0.9768 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000962/0.7292, allocations: 0.5476 MB / 0.9773 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009929/0.7302, allocations: 210.2 kB / 0.9775 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.7434, allocations: 8.614 MB / 0.9859 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009045/0.7443, allocations: 1.149 MB / 0.9871 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003042/0.7447, allocations: 100.7 kB / 0.9872 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004947/0.7452, allocations: 411.2 kB / 0.9876 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of SimCode: time 6.11e-07/0.7452, allocations: 0 / 0.9876 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05769/0.8029, allocations: 21.25 MB / 1.008 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.32, allocations: 18.55 kB / 1.008 GB, free: 9.984 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_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_TestCase2.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)