Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.37/2.37, allocations: 390.5 MB / 398 MB, free: 10.94 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.00144/0.00144, allocations: 184.8 kB / 491.2 MB, free: 1.559 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.461/1.461, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009123/0.0009123, allocations: 91.95 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.04e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3293, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.453/1.782, allocations: 431.8 MB / 1.634 GB, free: 14.93 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000446/1.783, allocations: 95.44 kB / 1.634 GB, free: 14.89 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.991/4.773, allocations: 0.6217 GB / 2.256 GB, free: 269.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.142e-06/4.773, allocations: 3.344 kB / 2.256 GB, free: 269.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001459/4.774, allocations: 40.58 kB / 2.256 GB, free: 269.8 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.003744/4.777, allocations: 1.749 MB / 2.258 GB, free: 269.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/4.777, allocations: 7.938 kB / 2.258 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/4.78, allocations: 0.4991 MB / 2.258 GB, free: 269 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/4.783, allocations: 1.514 MB / 2.26 GB, free: 268.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007338/4.784, allocations: 240.7 kB / 2.26 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/4.784, allocations: 56.5 kB / 2.26 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001795/4.786, allocations: 0.998 MB / 2.261 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/4.787, allocations: 1.002 MB / 2.262 GB, free: 268.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/4.787, allocations: 0 / 2.262 GB, free: 268.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/4.787, allocations: 10.8 kB / 2.262 GB, free: 268.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/4.787, allocations: 32.34 kB / 2.262 GB, free: 268.5 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.008419/4.796, allocations: 4.365 MB / 2.266 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006243/4.802, allocations: 1.641 MB / 2.268 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/4.803, allocations: 371.5 kB / 2.268 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00097/4.804, allocations: 1.152 MB / 2.269 GB, free: 265.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008033/4.805, allocations: 451.4 kB / 2.27 GB, free: 265.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.987e-06/4.805, allocations: 0 / 2.27 GB, free: 265.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.002304/4.807, allocations: 0.8637 MB / 2.271 GB, free: 265.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/4.807, allocations: 84.98 kB / 2.271 GB, free: 265.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/4.809, allocations: 1.182 MB / 2.272 GB, free: 265.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/4.809, allocations: 29.52 kB / 2.272 GB, free: 265.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/4.81, allocations: 0.6847 MB / 2.272 GB, free: 264.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/4.81, allocations: 208.8 kB / 2.273 GB, free: 264.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/4.81, allocations: 0 / 2.273 GB, free: 264.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/4.81, allocations: 333 kB / 2.273 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/4.81, allocations: 348 kB / 2.273 GB, free: 264.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/4.811, allocations: 0.5277 MB / 2.274 GB, free: 264.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009015/4.812, allocations: 433.2 kB / 2.274 GB, free: 264.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/4.812, allocations: 0 / 2.274 GB, free: 264.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001788/4.814, allocations: 0.9969 MB / 2.275 GB, free: 264.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002366/4.814, allocations: 0.9047 MB / 2.276 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/4.814, allocations: 0 / 2.276 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/4.814, allocations: 7.531 kB / 2.276 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/4.815, allocations: 216.7 kB / 2.276 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/4.815, allocations: 14.34 kB / 2.276 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/4.816, allocations: 198.8 kB / 2.277 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/4.817, allocations: 38.52 kB / 2.277 GB, free: 263.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/4.817, allocations: 3.969 kB / 2.277 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001466/4.818, allocations: 0.8367 MB / 2.277 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/4.818, allocations: 3.703 kB / 2.277 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/4.818, allocations: 7.875 kB / 2.277 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/4.819, allocations: 218.5 kB / 2.278 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/4.819, allocations: 7.797 kB / 2.278 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/4.82, allocations: 168.2 kB / 2.278 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.812e-05/4.821, allocations: 36.72 kB / 2.278 GB, free: 263.2 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.0002572/4.821, allocations: 124 kB / 2.278 GB, free: 263.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001519/4.822, allocations: 0.8534 MB / 2.279 GB, free: 263 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/4.823, allocations: 142.6 kB / 2.279 GB, free: 262.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/4.824, allocations: 1.078 MB / 2.28 GB, free: 262.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/4.825, allocations: 14.86 kB / 2.28 GB, free: 262.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/4.825, allocations: 0 / 2.28 GB, free: 262.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/4.825, allocations: 9.828 kB / 2.28 GB, free: 262.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/4.828, allocations: 2.524 MB / 2.282 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/4.828, allocations: 3.344 kB / 2.282 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/4.829, allocations: 167.5 kB / 2.283 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/4.829, allocations: 3.812 kB / 2.283 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/4.829, allocations: 15.08 kB / 2.283 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/4.829, allocations: 6.906 kB / 2.283 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/4.829, allocations: 6.938 kB / 2.283 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/4.831, allocations: 1.281 MB / 2.284 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006608/4.832, allocations: 392.8 kB / 2.284 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/4.832, allocations: 3.875 kB / 2.284 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/4.833, allocations: 124.3 kB / 2.284 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/4.833, allocations: 67.97 kB / 2.284 GB, free: 261.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.366e-05/4.833, allocations: 33.98 kB / 2.284 GB, free: 261.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001287/4.835, allocations: 0.9022 MB / 2.285 GB, free: 261.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.835, allocations: 0 / 2.285 GB, free: 261.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002244/4.837, allocations: 0.762 MB / 2.286 GB, free: 261.5 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.004035/4.841, allocations: 3.445 MB / 2.289 GB, free: 259.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002069/4.843, allocations: 1.337 MB / 2.291 GB, free: 259.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/4.843, allocations: 3.25 kB / 2.291 GB, free: 259.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005837/4.844, allocations: 453.4 kB / 2.291 GB, free: 259.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/4.846, allocations: 489.1 kB / 2.292 GB, free: 259.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/4.851, allocations: 2.188 MB / 2.294 GB, free: 259 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/4.851, allocations: 1.278 MB / 2.295 GB, free: 258.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002135/4.853, allocations: 0.4931 MB / 2.296 GB, free: 258.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007529/4.854, allocations: 0.549 MB / 2.296 GB, free: 258.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.192e-06/4.854, allocations: 0 / 2.296 GB, free: 258.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07595/4.93, allocations: 38.58 MB / 2.334 GB, free: 257 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/4.931, allocations: 205.9 kB / 2.334 GB, free: 256.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.474/8.404, allocations: 5.875 kB / 2.334 GB, free: 256.8 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat does not exist to compare? outputFormat=mat