Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",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.001157/0.001157, allocations: 98.53 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.00129/0.00129, allocations: 177.3 kB / 15.94 MB, free: 228 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.373/1.373, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.37/2.37, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003541, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6322/0.6326, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05977/0.6924, allocations: 52.52 MB / 1.005 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02238/0.7148, allocations: 11.29 MB / 1.016 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002653/0.7175, allocations: 55.62 kB / 1.016 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004409/0.722, allocations: 0.8824 MB / 1.017 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009529/0.7315, allocations: 2.103 MB / 1.019 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007133/0.7387, allocations: 1.637 MB / 1.02 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006609/0.7453, allocations: 2.176 MB / 1.023 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.7476, allocations: 0.9785 MB / 1.024 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.7503, allocations: 1.016 MB / 1.025 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.7517, allocations: 0.735 MB / 1.025 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.752, allocations: 60 kB / 1.025 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.7555, allocations: 1.088 MB / 1.026 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004937/0.756, allocations: 330.7 kB / 1.027 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005901/0.7566, allocations: 340.8 kB / 1.027 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.7608, allocations: 2.019 MB / 1.029 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7609, allocations: 0 / 1.029 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7609, allocations: 0 / 1.029 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.324e-05/0.7609, allocations: 0 / 1.029 GB, free: 2.777 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.005192/0.7661, allocations: 1.844 MB / 1.031 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.7662, allocations: 12.03 kB / 1.031 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003088/0.7665, allocations: 143.4 kB / 1.031 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003801/0.7703, allocations: 0.556 MB / 1.031 GB, free: 160 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/0.7739, allocations: 1.353 MB / 1.033 GB, free: 14.75 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/0.7749, allocations: 273.2 kB / 1.033 GB, free: 14.47 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.7751, allocations: 96 kB / 1.033 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/0.7788, allocations: 1.212 MB / 1.034 GB, free: 13.14 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.7788, allocations: 0 / 1.034 GB, free: 13.14 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.779, allocations: 36 kB / 1.034 GB, free: 13.1 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.779, allocations: 20 kB / 1.034 GB, free: 13.08 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004814/0.7838, allocations: 1.245 MB / 1.036 GB, free: 11.84 MB / 0.795 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.01006/0.7939, allocations: 4.364 MB / 1.04 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009183/0.8031, allocations: 1.867 MB / 1.042 GB, free: 5.324 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007759/0.8039, allocations: 1.152 MB / 1.043 GB, free: 3.914 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.8051, allocations: 0.4988 MB / 1.043 GB, free: 3.406 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.8051, allocations: 0 / 1.043 GB, free: 3.406 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.003127/0.8082, allocations: 1.27 MB / 1.045 GB, free: 2.129 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.8083, allocations: 81.67 kB / 1.045 GB, free: 2.031 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.8104, allocations: 1.541 MB / 1.046 GB, free: 492 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.563e-05/0.8105, allocations: 41.7 kB / 1.046 GB, free: 444 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005303/0.811, allocations: 0.6552 MB / 1.047 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.8112, allocations: 209 kB / 1.047 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.8113, allocations: 12 kB / 1.047 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8114, allocations: 341.9 kB / 1.047 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.8127, allocations: 461.6 kB / 1.048 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.8141, allocations: 0.6033 MB / 1.048 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.8153, allocations: 494.9 kB / 1.049 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.8153, allocations: 3.953 kB / 1.049 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003076/0.8184, allocations: 1.222 MB / 1.05 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003909/0.8188, allocations: 0.9188 MB / 1.051 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8188, allocations: 0 / 1.051 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.8189, allocations: 8 kB / 1.051 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.8199, allocations: 231.7 kB / 1.051 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.8199, allocations: 8 kB / 1.051 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.8215, allocations: 242.9 kB / 1.051 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/0.8216, allocations: 43.97 kB / 1.051 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.8216, allocations: 5.25 kB / 1.051 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002701/0.8244, allocations: 1.058 MB / 1.052 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.8244, allocations: 4 kB / 1.052 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.8244, allocations: 4 kB / 1.052 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.8254, allocations: 239.9 kB / 1.053 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.8254, allocations: 7.938 kB / 1.053 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.8268, allocations: 211.6 kB / 1.053 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/0.8269, allocations: 35.97 kB / 1.053 GB, free: 9.309 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0007262/0.8277, allocations: 439.1 kB / 1.053 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.8279, allocations: 150.1 kB / 1.054 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.8305, allocations: 1.181 MB / 1.055 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.8305, allocations: 12 kB / 1.055 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8305, allocations: 0 / 1.055 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.8306, allocations: 3.984 kB / 1.055 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/0.8349, allocations: 2.501 MB / 1.057 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.835, allocations: 7.938 kB / 1.057 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.8357, allocations: 140.1 kB / 1.057 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.8357, allocations: 4 kB / 1.057 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.8358, allocations: 27.97 kB / 1.057 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.8358, allocations: 4 kB / 1.057 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.8358, allocations: 11.92 kB / 1.057 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.8382, allocations: 1.34 MB / 1.059 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.8388, allocations: 370.7 kB / 1.059 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.839, allocations: 23.98 kB / 1.059 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.8401, allocations: 127.8 kB / 1.059 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.8402, allocations: 48.38 kB / 1.059 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.8403, allocations: 31.97 kB / 1.059 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001673/0.842, allocations: 1.091 MB / 1.06 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.842, allocations: 0 / 1.06 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001665/0.8436, allocations: 0.6979 MB / 1.061 GB, free: 0.8906 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.004311/0.848, allocations: 3.209 MB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004002/0.852, allocations: 1.574 MB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.852, allocations: 0 / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.8531, allocations: 466.9 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/0.8563, allocations: 0.6074 MB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.8622, allocations: 5.381 MB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007625/0.863, allocations: 1.273 MB / 1.073 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001588/0.8646, allocations: 398.8 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007936/0.8654, allocations: 0.5695 MB / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/0.8654, allocations: 0 / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06672/0.9321, allocations: 38.69 MB / 1.112 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.9324, allocations: 240.7 kB / 1.112 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/3.958, allocations: 0 / 1.112 GB, free: 12.79 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat does not exist to compare? outputFormat=mat