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.001596/0.001596, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001992/0.001992, allocations: 177.3 kB / 15.95 MB, free: 216 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.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.367 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.388/2.388, allocations: 390.3 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003781, allocations: 12 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7465, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002229/0.7488, allocations: 1.932 MB / 0.9555 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.7504, allocations: 1.248 MB / 0.9567 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.7505, allocations: 1.438 kB / 0.9567 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.751, allocations: 189.6 kB / 0.9569 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.7511, allocations: 75.88 kB / 0.9569 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.7514, allocations: 88.48 kB / 0.957 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.7517, allocations: 213.7 kB / 0.9572 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.7518, allocations: 32.3 kB / 0.9573 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.752, allocations: 123.4 kB / 0.9574 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.7523, allocations: 176.3 kB / 0.9576 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.7523, allocations: 20.38 kB / 0.9576 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.7524, allocations: 53.66 kB / 0.9576 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.7525, allocations: 105.4 kB / 0.9577 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.74e-05/0.7526, allocations: 81.48 kB / 0.9578 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.7529, allocations: 375.4 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7529, allocations: 0 / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7529, allocations: 0 / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.753, allocations: 1.062 kB / 0.9582 GB, free: 4.574 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.001036/0.754, allocations: 0.6712 MB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.754, allocations: 8.656 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.841e-05/0.7541, allocations: 50.95 kB / 0.9589 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008471/0.7549, allocations: 173.5 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.7554, allocations: 335.1 kB / 0.9594 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.7555, allocations: 82.88 kB / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.7555, allocations: 20.23 kB / 0.9595 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.7562, allocations: 319.5 kB / 0.9598 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7562, allocations: 0 / 0.9598 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.7563, allocations: 9.328 kB / 0.9598 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.7563, allocations: 2.75 kB / 0.9598 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.7574, allocations: 459.5 kB / 0.9602 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.7589, allocations: 0.8713 MB / 0.9611 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/0.7596, allocations: 295.8 kB / 0.9613 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.7597, allocations: 1.531 kB / 0.9613 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.7597, allocations: 40.09 kB / 0.9614 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.7597, allocations: 0 / 0.9614 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001784/0.7615, allocations: 0.7132 MB / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.7615, allocations: 57.47 kB / 0.9621 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.762, allocations: 422.5 kB / 0.9625 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.762, allocations: 30.86 kB / 0.9626 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.7621, allocations: 181.9 kB / 0.9627 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.7622, allocations: 62.81 kB / 0.9628 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.7622, allocations: 0 / 0.9628 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.7623, allocations: 348.1 kB / 0.9631 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/0.7628, allocations: 225.1 kB / 0.9633 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.7633, allocations: 248.1 kB / 0.9636 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.7639, allocations: 203.1 kB / 0.9638 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7639, allocations: 1.25 kB / 0.9638 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00115/0.765, allocations: 0.4971 MB / 0.9643 GB, free: 272 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.7651, allocations: 5.219 kB / 0.9643 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7651, allocations: 1 kB / 0.9643 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.7651, allocations: 1.031 kB / 0.9643 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.7656, allocations: 76.67 kB / 0.9643 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.7656, allocations: 1.281 kB / 0.9643 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.766, allocations: 51.73 kB / 0.9644 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.766, allocations: 15.55 kB / 0.9644 GB, free: 208 kB / 0.7169 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.0001813/0.7662, allocations: 166.6 kB / 0.9646 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.7663, allocations: 31.56 kB / 0.9646 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.7663, allocations: 43.86 kB / 0.9646 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.7663, allocations: 1.969 kB / 0.9646 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7664, allocations: 0 / 0.9646 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7664, allocations: 1.031 kB / 0.9646 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.767, allocations: 474.1 kB / 0.9651 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.767, allocations: 4.984 kB / 0.9651 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.7674, allocations: 72.69 kB / 0.9652 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.7674, allocations: 0.9375 kB / 0.9652 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.7675, allocations: 5.953 kB / 0.9652 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.7675, allocations: 1.219 kB / 0.9652 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.7675, allocations: 0 / 0.9652 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.7688, allocations: 0.6055 MB / 0.9658 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.7689, allocations: 115.7 kB / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.769, allocations: 5.5 kB / 0.9659 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.7693, allocations: 38.05 kB / 0.9659 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.7694, allocations: 33.8 kB / 0.966 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.7695, allocations: 7.922 kB / 0.966 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000374/0.7699, allocations: 299.8 kB / 0.9662 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.11e-07/0.7699, allocations: 1.125 kB / 0.9662 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003542/0.7702, allocations: 61.44 kB / 0.9663 GB, free: 14.84 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.001622/0.7719, allocations: 1.145 MB / 0.9674 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.7731, allocations: 480 kB / 0.9679 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7731, allocations: 7.938 kB / 0.9679 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.7737, allocations: 252.1 kB / 0.9681 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.7741, allocations: 45.52 kB / 0.9682 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.779, allocations: 2.598 MB / 0.9707 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.7795, allocations: 0.8024 MB / 0.9715 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003487/0.7798, allocations: 60.52 kB / 0.9716 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.78, allocations: 106 kB / 0.9717 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/0.78, allocations: 0 / 0.9717 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.8013, allocations: 7.182 MB / 0.9787 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.8015, allocations: 200.8 kB / 0.9789 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.567, allocations: 0 / 0.9789 GB, free: 6.012 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