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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 176.8 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009386/0.0009385, allocations: 95.84 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.111e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.362, allocations: 431 MB / 1.627 GB, free: 7.734 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.362, allocations: 88.98 kB / 1.627 GB, free: 7.691 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.394/3.756, allocations: 0.6217 GB / 2.249 GB, free: 275.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.112e-06/3.756, allocations: 0 / 2.249 GB, free: 275.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002378/3.756, allocations: 43.12 kB / 2.249 GB, free: 275.1 MB / 1.151 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.004004/3.76, allocations: 1.746 MB / 2.251 GB, free: 274.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/3.76, allocations: 9.25 kB / 2.251 GB, free: 274.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/3.763, allocations: 0.4999 MB / 2.251 GB, free: 274.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/3.766, allocations: 1.521 MB / 2.252 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007311/3.766, allocations: 239.6 kB / 2.253 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/3.767, allocations: 57.78 kB / 2.253 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001845/3.768, allocations: 0.9979 MB / 2.254 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/3.77, allocations: 1.002 MB / 2.255 GB, free: 273.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/3.77, allocations: 3.656 kB / 2.255 GB, free: 273.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.349e-05/3.77, allocations: 0 / 2.255 GB, free: 273.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/3.77, allocations: 33.2 kB / 2.255 GB, free: 273.8 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007533/3.778, allocations: 4.355 MB / 2.259 GB, free: 272.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006055/3.784, allocations: 1.636 MB / 2.261 GB, free: 272.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/3.784, allocations: 386 kB / 2.261 GB, free: 272.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/3.785, allocations: 1.151 MB / 2.262 GB, free: 270.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005919/3.786, allocations: 453 kB / 2.263 GB, free: 270.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.357e-06/3.786, allocations: 0 / 2.263 GB, free: 270.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.001642/3.787, allocations: 0.864 MB / 2.263 GB, free: 270.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/3.787, allocations: 84.48 kB / 2.263 GB, free: 270.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/3.789, allocations: 1.185 MB / 2.265 GB, free: 270.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/3.789, allocations: 31.8 kB / 2.265 GB, free: 270.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/3.789, allocations: 0.6789 MB / 2.265 GB, free: 270.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/3.789, allocations: 209.8 kB / 2.266 GB, free: 270.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/3.789, allocations: 0 / 2.266 GB, free: 270.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/3.79, allocations: 338.9 kB / 2.266 GB, free: 269.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/3.79, allocations: 349.8 kB / 2.266 GB, free: 269.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/3.791, allocations: 0.5189 MB / 2.267 GB, free: 269.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/3.791, allocations: 438 kB / 2.267 GB, free: 269.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/3.791, allocations: 0 / 2.267 GB, free: 269.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001682/3.793, allocations: 0.9922 MB / 2.268 GB, free: 269.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/3.793, allocations: 0.9035 MB / 2.269 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/3.793, allocations: 3.656 kB / 2.269 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/3.793, allocations: 2.844 kB / 2.269 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/3.794, allocations: 229.9 kB / 2.269 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/3.794, allocations: 6.219 kB / 2.269 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/3.796, allocations: 208.3 kB / 2.269 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/3.796, allocations: 34.42 kB / 2.269 GB, free: 268.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/3.796, allocations: 3.938 kB / 2.269 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001494/3.797, allocations: 0.8353 MB / 2.27 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/3.797, allocations: 3.875 kB / 2.27 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/3.797, allocations: 3.875 kB / 2.27 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009623/3.798, allocations: 225.1 kB / 2.27 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/3.798, allocations: 3.938 kB / 2.27 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/3.8, allocations: 170.8 kB / 2.271 GB, free: 268.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/3.8, allocations: 45.64 kB / 2.271 GB, free: 268.5 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0002233/3.8, allocations: 113.6 kB / 2.271 GB, free: 268.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001422/3.801, allocations: 0.8555 MB / 2.272 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/3.802, allocations: 141.8 kB / 2.272 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/3.804, allocations: 1.081 MB / 2.273 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/3.804, allocations: 11.03 kB / 2.273 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/3.804, allocations: 3.891 kB / 2.273 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/3.804, allocations: 3.062 kB / 2.273 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/3.807, allocations: 2.529 MB / 2.275 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/3.807, allocations: 3.562 kB / 2.275 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007834/3.808, allocations: 169.8 kB / 2.275 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/3.808, allocations: 3.594 kB / 2.275 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/3.808, allocations: 19.23 kB / 2.275 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/3.808, allocations: 3.812 kB / 2.275 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/3.808, allocations: 7.625 kB / 2.275 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/3.81, allocations: 1.279 MB / 2.277 GB, free: 267.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005908/3.81, allocations: 399.7 kB / 2.277 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/3.811, allocations: 3.969 kB / 2.277 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/3.812, allocations: 114.4 kB / 2.277 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/3.812, allocations: 61.58 kB / 2.277 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/3.812, allocations: 37.25 kB / 2.277 GB, free: 267 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001132/3.813, allocations: 0.912 MB / 2.278 GB, free: 266.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/3.813, allocations: 0 / 2.278 GB, free: 266.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001969/3.815, allocations: 0.7632 MB / 2.279 GB, free: 266.7 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * 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.003438/3.818, allocations: 3.44 MB / 2.282 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001792/3.82, allocations: 1.336 MB / 2.284 GB, free: 264.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/3.82, allocations: 3.812 kB / 2.284 GB, free: 264.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005078/3.821, allocations: 452.8 kB / 2.284 GB, free: 264.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/3.823, allocations: 483.3 kB / 2.285 GB, free: 264.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/3.827, allocations: 2.186 MB / 2.287 GB, free: 264.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/3.827, allocations: 1.279 MB / 2.288 GB, free: 263.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001916/3.829, allocations: 0.5007 MB / 2.288 GB, free: 263.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006272/3.83, allocations: 0.5418 MB / 2.289 GB, free: 263.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.01e-07/3.83, allocations: 2.812 kB / 2.289 GB, free: 263.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06522/3.895, allocations: 38.59 MB / 2.327 GB, free: 262.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/3.895, allocations: 196.9 kB / 2.327 GB, free: 262.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.225/7.12, allocations: 4 kB / 2.327 GB, free: 262.2 MB / 1.151 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