Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001281/0.001281, allocations: 108 kB / 15.6 MB, free: 132 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.001337/0.001337, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.538/1.538, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.75/1.75, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001465/0.001465, allocations: 74.42 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.243, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.6189/0.8619, allocations: 156.7 MB / 0.9365 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02405/0.886, allocations: 21.57 MB / 0.9576 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.8886, allocations: 49.06 kB / 0.9576 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.8902, allocations: 1.161 MB / 0.9588 GB, free: 4.516 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.001519/0.8917, allocations: 0.8567 MB / 0.9596 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.8928, allocations: 401.3 kB / 0.96 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.8942, allocations: 1.244 MB / 0.9612 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007469/0.895, allocations: 0.6835 MB / 0.9619 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006308/0.8956, allocations: 0.5476 MB / 0.9624 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.8966, allocations: 0.9158 MB / 0.9633 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.8967, allocations: 66.55 kB / 0.9634 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.8969, allocations: 108.2 kB / 0.9635 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.8972, allocations: 317 kB / 0.9638 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.8976, allocations: 488.2 kB / 0.9642 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.899, allocations: 1.182 MB / 0.9654 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.899, allocations: 0 / 0.9654 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.899, allocations: 0 / 0.9654 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.8991, allocations: 0 / 0.9654 GB, free: 3.871 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.00296/0.902, allocations: 1.473 MB / 0.9668 GB, free: 19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.9021, allocations: 10.16 kB / 0.9668 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.815e-05/0.9022, allocations: 84.14 kB / 0.9669 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.9024, allocations: 130.7 kB / 0.967 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007785/0.9032, allocations: 0.6614 MB / 0.9677 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.9033, allocations: 74.5 kB / 0.9677 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.963e-05/0.9034, allocations: 44.19 kB / 0.9678 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.9043, allocations: 0.5157 MB / 0.9683 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.9043, allocations: 5.375 kB / 0.9683 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.9044, allocations: 20.23 kB / 0.9683 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.9044, allocations: 13.61 kB / 0.9683 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.9052, allocations: 412.3 kB / 0.9687 GB, free: 18.36 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.003835/0.9091, allocations: 2.724 MB / 0.9714 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/0.91, allocations: 453 kB / 0.9718 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.9106, allocations: 316.4 kB / 0.9721 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.9106, allocations: 4.875 kB / 0.9721 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005224/0.9112, allocations: 290.5 kB / 0.9724 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=44): time 2.685e-06/0.9112, allocations: 4 kB / 0.9724 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44): time 0.002602/0.9138, allocations: 1.134 MB / 0.9735 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.9138, allocations: 64.88 kB / 0.9736 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.9155, allocations: 1.757 MB / 0.9753 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.9155, allocations: 39.56 kB / 0.9753 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.9159, allocations: 0.5245 MB / 0.9758 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.916, allocations: 145.6 kB / 0.976 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.9161, allocations: 104.9 kB / 0.9761 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.9163, allocations: 325.1 kB / 0.9764 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.9167, allocations: 212.5 kB / 0.9766 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.9172, allocations: 344.5 kB / 0.9769 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/0.918, allocations: 0.5143 MB / 0.9774 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.918, allocations: 2.125 kB / 0.9774 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001444/0.9194, allocations: 0.8114 MB / 0.9782 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.9194, allocations: 12.05 kB / 0.9782 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.9195, allocations: 4.75 kB / 0.9782 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003749/0.9198, allocations: 134.9 kB / 0.9784 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.9202, allocations: 103.8 kB / 0.9785 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.9229, allocations: 2.606 MB / 0.981 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.9234, allocations: 78.83 kB / 0.9811 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.9234, allocations: 26.66 kB / 0.9811 GB, free: 10.95 MB / 0.7325 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,$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 (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.0005541/0.924, allocations: 379.5 kB / 0.9815 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.9242, allocations: 114 kB / 0.9816 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.9244, allocations: 140.6 kB / 0.9817 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.9244, allocations: 5.031 kB / 0.9817 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.9244, allocations: 7.125 kB / 0.9817 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9244, allocations: 2.531 kB / 0.9817 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.9267, allocations: 1.498 MB / 0.9832 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9267, allocations: 0 / 0.9832 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.9269, allocations: 46.48 kB / 0.9832 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003601/0.9273, allocations: 159.6 kB / 0.9834 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.9274, allocations: 15.98 kB / 0.9834 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003575/0.9309, allocations: 4.023 MB / 0.9873 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.931, allocations: 0 / 0.9873 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.9327, allocations: 0.9965 MB / 0.9883 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.933, allocations: 211.1 kB / 0.9885 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.9331, allocations: 14.72 kB / 0.9885 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.9334, allocations: 31.31 kB / 0.9885 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.9336, allocations: 49.73 kB / 0.9886 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.9336, allocations: 18.55 kB / 0.9886 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001583/0.9352, allocations: 1.29 MB / 0.9899 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.81e-07/0.9352, allocations: 0 / 0.9899 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009341/0.9362, allocations: 195.7 kB / 0.9901 GB, free: 4.746 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,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.003302/0.9395, allocations: 1.899 MB / 0.9919 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.941, allocations: 0.6849 MB / 0.9926 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.941, allocations: 0 / 0.9926 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.9419, allocations: 0.537 MB / 0.9931 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.943, allocations: 210.2 kB / 0.9933 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.9545, allocations: 9.052 MB / 1.002 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/0.9552, allocations: 1.152 MB / 1.003 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003223/0.9556, allocations: 97.44 kB / 1.003 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.956, allocations: 407.5 kB / 1.004 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of SimCode: time 8.42e-07/0.956, allocations: 0 / 1.004 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/1.003, allocations: 20.44 MB / 1.024 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.099/10.1, allocations: 7.938 kB / 1.024 GB, free: 12.03 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)