Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_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.001088/0.001088, allocations: 99.86 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.001308/0.001308, 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.294/1.294, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.271/2.271, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.692, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002026/0.6941, allocations: 1.938 MB / 0.9828 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.6955, allocations: 1.252 MB / 0.984 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.6956, allocations: 4 kB / 0.984 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.696, allocations: 183.3 kB / 0.9842 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.6962, allocations: 79.77 kB / 0.9842 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.6964, allocations: 87.77 kB / 0.9843 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.6966, allocations: 199.6 kB / 0.9845 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.6968, allocations: 52.69 kB / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.6969, allocations: 119.5 kB / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.6972, allocations: 171.5 kB / 0.9848 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.6972, allocations: 20 kB / 0.9849 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.6973, allocations: 55.95 kB / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.991e-05/0.6974, allocations: 103.7 kB / 0.985 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.6975, allocations: 81.52 kB / 0.9851 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.6978, allocations: 373.3 kB / 0.9854 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.6978, allocations: 0 / 0.9854 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6978, allocations: 0 / 0.9854 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.6979, allocations: 0 / 0.9854 GB, free: 1.574 MB / 0.7325 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.001053/0.6989, allocations: 0.6694 MB / 0.9861 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.699, allocations: 12.03 kB / 0.9861 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.699, allocations: 42.56 kB / 0.9862 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008327/0.6999, allocations: 179.3 kB / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.7003, allocations: 337.3 kB / 0.9866 GB, free: 252 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.7004, allocations: 87.61 kB / 0.9867 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.7005, allocations: 15.95 kB / 0.9867 GB, free: 136 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.7012, allocations: 307.3 kB / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.7012, allocations: 0 / 0.987 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.7012, allocations: 8 kB / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.7012, allocations: 0 / 0.987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.7023, allocations: 464.3 kB / 0.9875 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.7038, allocations: 0.8785 MB / 0.9883 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.7045, allocations: 298.3 kB / 0.9886 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.7045, allocations: 3.938 kB / 0.9886 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.7045, allocations: 34.56 kB / 0.9887 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.7045, allocations: 0 / 0.9887 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001703/0.7063, allocations: 0.7097 MB / 0.9894 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.7063, allocations: 55.41 kB / 0.9894 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.7067, allocations: 425.5 kB / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.7068, allocations: 33.64 kB / 0.9899 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.7069, allocations: 180.1 kB / 0.99 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.707, allocations: 63.09 kB / 0.9901 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.707, allocations: 4 kB / 0.9901 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.7071, allocations: 346.8 kB / 0.9904 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.7077, allocations: 215.8 kB / 0.9906 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.7082, allocations: 253.3 kB / 0.9909 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.7087, allocations: 203.9 kB / 0.9911 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7087, allocations: 0 / 0.9911 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00112/0.7099, allocations: 0.4946 MB / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7099, allocations: 8 kB / 0.9916 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7099, allocations: 7.938 kB / 0.9916 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.7099, allocations: 3.953 kB / 0.9916 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.7104, allocations: 67.92 kB / 0.9916 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.7104, allocations: 0 / 0.9916 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.7107, allocations: 59.78 kB / 0.9917 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.7108, allocations: 4 kB / 0.9917 GB, free: 10.94 MB / 0.7481 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.0001866/0.711, allocations: 167 kB / 0.9918 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.711, allocations: 35.62 kB / 0.9919 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.7111, allocations: 43.59 kB / 0.9919 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7111, allocations: 4 kB / 0.9919 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7111, allocations: 3.953 kB / 0.9919 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7111, allocations: 3.984 kB / 0.9919 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.7116, allocations: 466.9 kB / 0.9924 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7116, allocations: 0 / 0.9924 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.7121, allocations: 75.92 kB / 0.9925 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.7121, allocations: 0 / 0.9925 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.7121, allocations: 8 kB / 0.9925 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.7121, allocations: 11.94 kB / 0.9925 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7121, allocations: 0 / 0.9925 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.7133, allocations: 0.5947 MB / 0.9931 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.7134, allocations: 120.6 kB / 0.9932 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.7135, allocations: 4 kB / 0.9932 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.7138, allocations: 43.95 kB / 0.9932 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.7139, allocations: 35.94 kB / 0.9932 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.7139, allocations: 4 kB / 0.9933 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002917/0.7142, allocations: 311.1 kB / 0.9935 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7142, allocations: 0 / 0.9935 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003091/0.7146, allocations: 60 kB / 0.9936 GB, free: 8.887 MB / 0.7481 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.001441/0.716, allocations: 1.141 MB / 0.9947 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.7171, allocations: 475.6 kB / 0.9952 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7171, allocations: 0 / 0.9952 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.7177, allocations: 253.3 kB / 0.9954 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.718, allocations: 49.5 kB / 0.9955 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.7223, allocations: 2.583 MB / 0.998 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.7227, allocations: 0.795 MB / 0.9988 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002596/0.7229, allocations: 62.27 kB / 0.9988 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.7231, allocations: 107.4 kB / 0.9989 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.7231, allocations: 4 kB / 0.9989 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4297/1.153, allocations: 7.175 MB / 1.006 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/1.153, allocations: 206.2 kB / 1.006 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/3.226, allocations: 0 / 1.006 GB, free: 12.15 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat does not exist to compare? outputFormat=mat