Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.TestCase2,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_8_Buildings_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.001268/0.001268, allocations: 109.4 kB / 15.69 MB, free: 128 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.001344/0.001343, allocations: 189.7 kB / 16.62 MB, free: 6.613 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.291/1.291, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.649/1.649, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001415/0.001415, allocations: 68.48 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.214, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.579/0.7931, allocations: 156.7 MB / 0.9367 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0265/0.8196, allocations: 21.56 MB / 0.9577 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.8224, allocations: 51.98 kB / 0.9578 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.8243, allocations: 1.164 MB / 0.9589 GB, free: 4.566 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.001815/0.8262, allocations: 0.8538 MB / 0.9597 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.8274, allocations: 407 kB / 0.9601 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001699/0.8291, allocations: 1.245 MB / 0.9613 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009717/0.8301, allocations: 0.6866 MB / 0.962 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.8312, allocations: 0.5448 MB / 0.9625 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.8324, allocations: 0.9151 MB / 0.9634 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.8326, allocations: 66.11 kB / 0.9635 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.833, allocations: 114.5 kB / 0.9636 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.8332, allocations: 318 kB / 0.9639 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.8337, allocations: 488.9 kB / 0.9644 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.8349, allocations: 1.197 MB / 0.9655 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8349, allocations: 4.719 kB / 0.9656 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.512e-06/0.835, allocations: 0 / 0.9656 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.835, allocations: 0 / 0.9656 GB, free: 3.863 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.002357/0.8373, allocations: 1.469 MB / 0.967 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.8374, allocations: 9.812 kB / 0.967 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.575e-05/0.8375, allocations: 84.31 kB / 0.9671 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.8377, allocations: 133.9 kB / 0.9672 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.8385, allocations: 0.6649 MB / 0.9679 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.8386, allocations: 73.86 kB / 0.9679 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.8387, allocations: 47.02 kB / 0.968 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/0.8396, allocations: 0.5194 MB / 0.9685 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.8397, allocations: 1.469 kB / 0.9685 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.685e-05/0.8397, allocations: 24.55 kB / 0.9685 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.8397, allocations: 9.5 kB / 0.9685 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00081/0.8406, allocations: 409 kB / 0.9689 GB, free: 18.35 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.003712/0.8443, allocations: 2.778 MB / 0.9716 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.8453, allocations: 459.6 kB / 0.9721 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.8459, allocations: 291.9 kB / 0.9723 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.8459, allocations: 7.781 kB / 0.9723 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005567/0.8465, allocations: 317.8 kB / 0.9726 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.685e-06/0.8465, allocations: 0 / 0.9726 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.003011/0.8495, allocations: 1.241 MB / 0.9739 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.8496, allocations: 56.44 kB / 0.9739 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.8514, allocations: 1.746 MB / 0.9756 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.8515, allocations: 38.61 kB / 0.9756 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.8519, allocations: 0.5149 MB / 0.9762 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.852, allocations: 148.3 kB / 0.9763 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.8521, allocations: 103.2 kB / 0.9764 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8523, allocations: 324.7 kB / 0.9767 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.8528, allocations: 215.8 kB / 0.9769 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.8533, allocations: 328.8 kB / 0.9772 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008272/0.8541, allocations: 0.5109 MB / 0.9777 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.8542, allocations: 0 / 0.9777 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001764/0.8559, allocations: 0.8576 MB / 0.9786 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.856, allocations: 6.844 kB / 0.9786 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.856, allocations: 3.281 kB / 0.9786 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005649/0.8565, allocations: 184.7 kB / 0.9787 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.8569, allocations: 94.02 kB / 0.9788 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.8606, allocations: 2.996 MB / 0.9818 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/0.8613, allocations: 74.09 kB / 0.9818 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.8613, allocations: 19.62 kB / 0.9818 GB, free: 10.71 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.0007123/0.862, allocations: 387.7 kB / 0.9822 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.8622, allocations: 115.7 kB / 0.9823 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.8625, allocations: 140 kB / 0.9825 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.8625, allocations: 3.406 kB / 0.9825 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.8625, allocations: 5.031 kB / 0.9825 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.8625, allocations: 2.625 kB / 0.9825 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.8655, allocations: 1.566 MB / 0.984 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.8656, allocations: 4 kB / 0.984 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.8658, allocations: 40.38 kB / 0.984 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005239/0.8664, allocations: 195 kB / 0.9842 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.8664, allocations: 16.7 kB / 0.9842 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004408/0.8709, allocations: 4.554 MB / 0.9887 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8709, allocations: 0 / 0.9887 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.8731, allocations: 1.065 MB / 0.9897 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.8735, allocations: 215 kB / 0.9899 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.8736, allocations: 16.64 kB / 0.99 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.8739, allocations: 29.34 kB / 0.99 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.8741, allocations: 56.06 kB / 0.99 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.8741, allocations: 15.16 kB / 0.99 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001547/0.8757, allocations: 1.28 MB / 0.9913 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8757, allocations: 0 / 0.9913 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009292/0.8766, allocations: 199.2 kB / 0.9915 GB, free: 3.859 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.003229/0.8799, allocations: 1.977 MB / 0.9934 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.8815, allocations: 0.7169 MB / 0.9941 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8815, allocations: 0.6875 kB / 0.9941 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.8824, allocations: 0.5598 MB / 0.9947 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.8837, allocations: 205.2 kB / 0.9949 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.8969, allocations: 8.565 MB / 1.003 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/0.8977, allocations: 1.155 MB / 1.004 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003396/0.898, allocations: 84.77 kB / 1.004 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.8985, allocations: 407.9 kB / 1.005 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of SimCode: time 1.273e-06/0.8985, allocations: 0 / 1.005 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/0.9457, allocations: 20.86 MB / 1.025 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.56, allocations: 15.44 kB / 1.025 GB, free: 10.78 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)