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.0009874/0.0009873, allocations: 91.92 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.001342/0.001342, 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.396/1.396, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.452/2.452, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005384/0.0005386, allocations: 12 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7075/0.7081, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002527/0.7107, allocations: 2.005 MB / 0.9831 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.7125, allocations: 1.295 MB / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.7127, allocations: 0 / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.7132, allocations: 179 kB / 0.9845 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.7133, allocations: 67.48 kB / 0.9846 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.7136, allocations: 87.83 kB / 0.9847 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.7139, allocations: 282.9 kB / 0.985 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.714, allocations: 48.69 kB / 0.985 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.7142, allocations: 115.5 kB / 0.9851 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.7145, allocations: 175.4 kB / 0.9853 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.7145, allocations: 20 kB / 0.9853 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.7147, allocations: 55.95 kB / 0.9853 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.7148, allocations: 111.7 kB / 0.9855 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.7149, allocations: 81.52 kB / 0.9855 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.7152, allocations: 377.2 kB / 0.9859 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7152, allocations: 7.938 kB / 0.9859 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.504e-06/0.7153, allocations: 0 / 0.9859 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.7153, allocations: 0 / 0.9859 GB, free: 1.332 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.001103/0.7164, allocations: 0.6616 MB / 0.9865 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7164, allocations: 12.03 kB / 0.9866 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.7165, allocations: 46.56 kB / 0.9866 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007768/0.7173, allocations: 171.4 kB / 0.9868 GB, free: 396 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.7177, allocations: 341.2 kB / 0.9871 GB, free: 12 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.7178, allocations: 83.61 kB / 0.9872 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.7179, allocations: 19.95 kB / 0.9872 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.7185, allocations: 307.3 kB / 0.9875 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7186, allocations: 0 / 0.9875 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.7186, allocations: 12 kB / 0.9875 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.7186, allocations: 0 / 0.9875 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.7197, allocations: 468.3 kB / 0.9879 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.7212, allocations: 0.8707 MB / 0.9888 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.7219, allocations: 298.3 kB / 0.9891 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.7224, allocations: 232.7 kB / 0.9893 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.7224, allocations: 4 kB / 0.9893 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.7225, allocations: 34.56 kB / 0.9893 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.7225, allocations: 0 / 0.9893 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001732/0.7242, allocations: 0.7211 MB / 0.99 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.7243, allocations: 55.41 kB / 0.9901 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.7248, allocations: 425.6 kB / 0.9905 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.7248, allocations: 25.7 kB / 0.9905 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.725, allocations: 176.1 kB / 0.9907 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.7251, allocations: 59.09 kB / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.7251, allocations: 8 kB / 0.9908 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7253, allocations: 346.8 kB / 0.9911 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.7258, allocations: 219.8 kB / 0.9913 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.7263, allocations: 244.4 kB / 0.9915 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.7268, allocations: 209.6 kB / 0.9917 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7268, allocations: 0 / 0.9917 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001121/0.7279, allocations: 0.5047 MB / 0.9922 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.728, allocations: 4 kB / 0.9922 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.728, allocations: 0 / 0.9922 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.728, allocations: 7.953 kB / 0.9922 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.7284, allocations: 71.92 kB / 0.9923 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.7285, allocations: 0 / 0.9923 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.7288, allocations: 51.8 kB / 0.9924 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.7288, allocations: 7.984 kB / 0.9924 GB, free: 10.47 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.0001995/0.729, allocations: 169.8 kB / 0.9925 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.7291, allocations: 39.5 kB / 0.9926 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.38e-05/0.7292, allocations: 43.58 kB / 0.9926 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.7292, allocations: 7.953 kB / 0.9926 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7292, allocations: 0 / 0.9926 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7292, allocations: 0 / 0.9926 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.7297, allocations: 474.8 kB / 0.9931 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7297, allocations: 0 / 0.9931 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.7301, allocations: 67.94 kB / 0.9931 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.7302, allocations: 4.047 kB / 0.9931 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.7302, allocations: 11.97 kB / 0.9931 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.7302, allocations: 7.891 kB / 0.9931 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7302, allocations: 0 / 0.9931 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.7314, allocations: 0.5867 MB / 0.9937 GB, free: 9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/0.7314, allocations: 120.6 kB / 0.9938 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.7315, allocations: 4 kB / 0.9938 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.7318, allocations: 43.95 kB / 0.9939 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.7319, allocations: 27.91 kB / 0.9939 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.732, allocations: 11.98 kB / 0.9939 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003303/0.7323, allocations: 307.1 kB / 0.9942 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7323, allocations: 4 kB / 0.9942 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000316/0.7326, allocations: 60 kB / 0.9943 GB, free: 8.418 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.001466/0.7341, allocations: 1.14 MB / 0.9954 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.7352, allocations: 475.6 kB / 0.9958 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7353, allocations: 0 / 0.9958 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005652/0.7358, allocations: 251.8 kB / 0.9961 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.7363, allocations: 53.42 kB / 0.9961 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.7409, allocations: 2.626 MB / 0.9987 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.7413, allocations: 0.8028 MB / 0.9995 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.7416, allocations: 54.27 kB / 0.9995 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.7418, allocations: 107.4 kB / 0.9996 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.7418, allocations: 0 / 0.9996 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.7595, allocations: 7.198 MB / 1.007 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.7597, allocations: 210.5 kB / 1.007 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.695, allocations: 4 kB / 1.007 GB, free: 11.62 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