Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_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.004907/0.004908, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.00129/0.00129, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002531/0.002531, allocations: 275 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 1.011/1.011, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 96.44 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1527, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4512/0.6039, allocations: 156.7 MB / 0.9189 GB, free: 6.309 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.6295, allocations: 21.76 MB / 0.9402 GB, free: 484 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.6309, allocations: 59.69 kB / 0.9402 GB, free: 424 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.6326, allocations: 1.153 MB / 0.9414 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.6339, allocations: 0.8523 MB / 0.9422 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.635, allocations: 459.5 kB / 0.9426 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.6364, allocations: 1.253 MB / 0.9439 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008386/0.6373, allocations: 0.6826 MB / 0.9445 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006648/0.638, allocations: 0.549 MB / 0.9451 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.6391, allocations: 0.9177 MB / 0.946 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.6392, allocations: 64 kB / 0.946 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.6394, allocations: 104 kB / 0.9461 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.6397, allocations: 320.7 kB / 0.9464 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.6402, allocations: 0.4929 MB / 0.9469 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.6415, allocations: 1.203 MB / 0.9481 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.6415, allocations: 0 / 0.9481 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6415, allocations: 0 / 0.9481 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.6416, allocations: 4 kB / 0.9481 GB, free: 8.387 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.002343/0.6439, allocations: 1.525 MB / 0.9496 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.644, allocations: 8.031 kB / 0.9496 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.6441, allocations: 90.7 kB / 0.9497 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.6443, allocations: 140 kB / 0.9498 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009113/0.6452, allocations: 0.6717 MB / 0.9505 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.6453, allocations: 66.69 kB / 0.9505 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.882e-05/0.6454, allocations: 51.98 kB / 0.9506 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009861/0.6464, allocations: 0.5184 MB / 0.9511 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.6464, allocations: 0 / 0.9511 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.6465, allocations: 20 kB / 0.9511 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.6465, allocations: 15.94 kB / 0.9511 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.6474, allocations: 415.7 kB / 0.9515 GB, free: 4.746 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.003656/0.6511, allocations: 2.724 MB / 0.9542 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009939/0.6521, allocations: 444.6 kB / 0.9546 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006806/0.6528, allocations: 304.6 kB / 0.9549 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.6528, allocations: 8.328 kB / 0.9549 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005713/0.6534, allocations: 279.8 kB / 0.9552 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/0.6534, allocations: 0 / 0.9552 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.002766/0.6562, allocations: 1.156 MB / 0.9563 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.6562, allocations: 59.41 kB / 0.9563 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.6582, allocations: 1.764 MB / 0.9581 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.6583, allocations: 37.7 kB / 0.9581 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/0.6588, allocations: 0.5331 MB / 0.9586 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.6589, allocations: 150.7 kB / 0.9588 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.6591, allocations: 98.25 kB / 0.9589 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6592, allocations: 330 kB / 0.9592 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005024/0.6598, allocations: 213 kB / 0.9594 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.6604, allocations: 339.1 kB / 0.9597 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/0.6613, allocations: 0.5125 MB / 0.9602 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6614, allocations: 0 / 0.9602 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001653/0.663, allocations: 0.8195 MB / 0.961 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6631, allocations: 12.02 kB / 0.961 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.6631, allocations: 4 kB / 0.961 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/0.6635, allocations: 137.4 kB / 0.9611 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.6639, allocations: 99.86 kB / 0.9612 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.667, allocations: 2.605 MB / 0.9638 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.6675, allocations: 83.58 kB / 0.9639 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.6675, allocations: 20 kB / 0.9639 GB, free: 7.48 MB / 0.7169 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_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 (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.0005244/0.6681, allocations: 387.2 kB / 0.9643 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.6682, allocations: 127.1 kB / 0.9644 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.6685, allocations: 139.7 kB / 0.9645 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.6685, allocations: 7.984 kB / 0.9645 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.6685, allocations: 4 kB / 0.9645 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6685, allocations: 4 kB / 0.9645 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.671, allocations: 1.487 MB / 0.966 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.671, allocations: 3.938 kB / 0.966 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.6712, allocations: 43.95 kB / 0.966 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/0.6716, allocations: 164.5 kB / 0.9662 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.6717, allocations: 15.98 kB / 0.9662 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004152/0.6759, allocations: 4.039 MB / 0.9701 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6759, allocations: 64 / 0.9701 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.6778, allocations: 0.9898 MB / 0.9711 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.6781, allocations: 216.2 kB / 0.9713 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.64e-05/0.6782, allocations: 19.92 kB / 0.9713 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.6785, allocations: 27.97 kB / 0.9714 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.6786, allocations: 59.86 kB / 0.9714 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.6787, allocations: 12 kB / 0.9714 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00149/0.6802, allocations: 1.285 MB / 0.9727 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6802, allocations: 4 kB / 0.9727 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007285/0.6809, allocations: 203.7 kB / 0.9729 GB, free: 13.88 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,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.003749/0.6847, allocations: 1.913 MB / 0.9747 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.6861, allocations: 0.6703 MB / 0.9754 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6861, allocations: 0 / 0.9754 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008542/0.687, allocations: 0.5132 MB / 0.9759 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009642/0.688, allocations: 208.8 kB / 0.9761 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.7003, allocations: 8.539 MB / 0.9844 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008589/0.7012, allocations: 1.149 MB / 0.9856 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002888/0.7015, allocations: 100.7 kB / 0.9857 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.7019, allocations: 403.3 kB / 0.986 GB, free: 264 kB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.702, allocations: 0 / 0.986 GB, free: 264 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0545/0.7565, allocations: 20.88 MB / 1.006 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.38, allocations: 9.906 kB / 1.006 GB, free: 11.71 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_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_TestCase1.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)