Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",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.0009085/0.0009084, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008935/0.0008935, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7409, allocations: 142.3 MB / 0.9538 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002697/0.7436, allocations: 2.009 MB / 0.9558 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.7456, allocations: 1.28 MB / 0.9571 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.7459, allocations: 6.875 kB / 0.9571 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.7465, allocations: 170.4 kB / 0.9572 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.7468, allocations: 66.67 kB / 0.9573 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.7472, allocations: 100.2 kB / 0.9574 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.7476, allocations: 283.5 kB / 0.9577 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.7477, allocations: 43.61 kB / 0.9577 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.748, allocations: 116.9 kB / 0.9578 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.7483, allocations: 180 kB / 0.958 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/0.7484, allocations: 19.38 kB / 0.958 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.7486, allocations: 52 kB / 0.958 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.7487, allocations: 102.7 kB / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.7488, allocations: 84.53 kB / 0.9582 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.7492, allocations: 372.3 kB / 0.9586 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7492, allocations: 0 / 0.9586 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7492, allocations: 0 / 0.9586 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.7492, allocations: 4 kB / 0.9586 GB, free: 4.43 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001183/0.7504, allocations: 0.6692 MB / 0.9592 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.7505, allocations: 13.56 kB / 0.9593 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/0.7505, allocations: 54.67 kB / 0.9593 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007891/0.7513, allocations: 173.1 kB / 0.9595 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.7517, allocations: 339.1 kB / 0.9598 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/0.7518, allocations: 82.81 kB / 0.9599 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.7519, allocations: 13.28 kB / 0.9599 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.7526, allocations: 319.7 kB / 0.9602 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7526, allocations: 0 / 0.9602 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.7526, allocations: 8.766 kB / 0.9602 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.7526, allocations: 2.625 kB / 0.9602 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.7537, allocations: 459.5 kB / 0.9606 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.7551, allocations: 0.8795 MB / 0.9615 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.7558, allocations: 288.1 kB / 0.9618 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.7563, allocations: 247.6 kB / 0.962 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.7563, allocations: 9.062 kB / 0.962 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.7564, allocations: 31.72 kB / 0.962 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.7564, allocations: 1.062 kB / 0.962 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001659/0.758, allocations: 0.7092 MB / 0.9627 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.7581, allocations: 55.22 kB / 0.9628 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.7585, allocations: 421 kB / 0.9632 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.7585, allocations: 31.14 kB / 0.9632 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.7586, allocations: 181.2 kB / 0.9634 GB, free: 1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.7587, allocations: 58.27 kB / 0.9635 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.7587, allocations: 5.281 kB / 0.9635 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.7588, allocations: 347.9 kB / 0.9638 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004903/0.7593, allocations: 215 kB / 0.964 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.7598, allocations: 257.5 kB / 0.9642 GB, free: 364 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.7603, allocations: 205.4 kB / 0.9644 GB, free: 268 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7603, allocations: 0 / 0.9644 GB, free: 268 kB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001089/0.7614, allocations: 0.4902 MB / 0.9649 GB, free: 8 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.7615, allocations: 5.031 kB / 0.9649 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7615, allocations: 0 / 0.9649 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.7615, allocations: 1.188 kB / 0.9649 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.762, allocations: 80.73 kB / 0.965 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.762, allocations: 1.312 kB / 0.965 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.7624, allocations: 60.27 kB / 0.9651 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.7624, allocations: 7.688 kB / 0.9651 GB, free: 15.94 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.7626, allocations: 161 kB / 0.9652 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.7627, allocations: 32.53 kB / 0.9652 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.907e-05/0.7628, allocations: 40.06 kB / 0.9653 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7628, allocations: 1.219 kB / 0.9653 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7628, allocations: 1.125 kB / 0.9653 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.7629, allocations: 7.984 kB / 0.9653 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.7635, allocations: 491.1 kB / 0.9658 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7635, allocations: 0 / 0.9658 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.7639, allocations: 73.08 kB / 0.9658 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.7639, allocations: 0.9375 kB / 0.9658 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.764, allocations: 5.875 kB / 0.9658 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.764, allocations: 4.984 kB / 0.9658 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.764, allocations: 0 / 0.9658 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.7654, allocations: 0.602 MB / 0.9664 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.7655, allocations: 115.1 kB / 0.9665 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.7656, allocations: 13.97 kB / 0.9666 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.766, allocations: 45.86 kB / 0.9666 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.7661, allocations: 25.45 kB / 0.9666 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.7661, allocations: 4.281 kB / 0.9666 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004117/0.7665, allocations: 304.2 kB / 0.9669 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.41e-07/0.7665, allocations: 0 / 0.9669 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004262/0.767, allocations: 65.41 kB / 0.967 GB, free: 14.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001822/0.7688, allocations: 1.142 MB / 0.9681 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.7702, allocations: 473.5 kB / 0.9685 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7703, allocations: 0 / 0.9685 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.771, allocations: 255.4 kB / 0.9688 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.7715, allocations: 44.73 kB / 0.9688 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.7772, allocations: 2.652 MB / 0.9714 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.7777, allocations: 0.7896 MB / 0.9722 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003705/0.7781, allocations: 65.27 kB / 0.9723 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.7783, allocations: 105.6 kB / 0.9724 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of SimCode: time 1.493e-06/0.7783, allocations: 0 / 0.9724 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.7988, allocations: 7.198 MB / 0.9794 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.799, allocations: 216.9 kB / 0.9796 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.668, allocations: 0 / 0.9796 GB, free: 5.504 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat does not exist to compare? outputFormat=mat