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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008327/0.0008329, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009786/0.0009788, allocations: 168.7 kB / 15.95 MB, free: 204 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.366/1.366, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.492/2.492, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003665, allocations: 12 kB / 0.8378 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7255, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05743/0.783, allocations: 57.84 MB / 1.038 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01737/0.8004, allocations: 12.2 MB / 1.05 GB, free: 64 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.803, allocations: 55.62 kB / 1.05 GB, free: 8 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.8054, allocations: 0.6988 MB / 1.05 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.8104, allocations: 1.565 MB / 1.052 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.8137, allocations: 1.041 MB / 1.053 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005446/0.8191, allocations: 3.742 MB / 1.056 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.8209, allocations: 0.9509 MB / 1.057 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.8233, allocations: 1.108 MB / 1.058 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.8248, allocations: 0.9489 MB / 1.059 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.825, allocations: 64 kB / 1.059 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.8278, allocations: 1.201 MB / 1.061 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.8283, allocations: 358.6 kB / 1.061 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005455/0.8288, allocations: 344.8 kB / 1.061 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.8316, allocations: 2.135 MB / 1.063 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.8316, allocations: 0 / 1.063 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.919e-06/0.8316, allocations: 0 / 1.063 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.8316, allocations: 3.938 kB / 1.063 GB, free: 1.805 MB / 0.8106 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.003374/0.835, allocations: 1.887 MB / 1.065 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.835, allocations: 8.031 kB / 1.065 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/0.8353, allocations: 143.4 kB / 1.065 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/0.8374, allocations: 0.5559 MB / 1.066 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.84, allocations: 1.33 MB / 1.067 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006669/0.8407, allocations: 277.3 kB / 1.067 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.8409, allocations: 91.98 kB / 1.068 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.8436, allocations: 1.267 MB / 1.069 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.8436, allocations: 0 / 1.069 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.8437, allocations: 40 kB / 1.069 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.8438, allocations: 23.94 kB / 1.069 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.8467, allocations: 1.343 MB / 1.07 GB, free: 10.69 MB / 0.8262 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.00709/0.8538, allocations: 4.594 MB / 1.075 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006977/0.8608, allocations: 1.967 MB / 1.077 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000999/0.8618, allocations: 467.3 kB / 1.077 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.8629, allocations: 1.16 MB / 1.078 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/0.8641, allocations: 0.5339 MB / 1.079 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=60): time 2.785e-06/0.8641, allocations: 0 / 1.079 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60): time 0.003323/0.8674, allocations: 1.419 MB / 1.08 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.8675, allocations: 81.67 kB / 1.08 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.8702, allocations: 1.63 MB / 1.082 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/0.8703, allocations: 41.7 kB / 1.082 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006103/0.8709, allocations: 0.655 MB / 1.082 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.8711, allocations: 213 kB / 1.083 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.8712, allocations: 12 kB / 1.083 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.8714, allocations: 334 kB / 1.083 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.8726, allocations: 0.5016 MB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.8739, allocations: 0.6713 MB / 1.084 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.8752, allocations: 0.5341 MB / 1.085 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8752, allocations: 0 / 1.085 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003062/0.8783, allocations: 1.323 MB / 1.086 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.8784, allocations: 167.9 kB / 1.086 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.8784, allocations: 0 / 1.086 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.8784, allocations: 11.98 kB / 1.086 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.8794, allocations: 227.7 kB / 1.086 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.8795, allocations: 8 kB / 1.086 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.8809, allocations: 254.9 kB / 1.087 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.8811, allocations: 35.92 kB / 1.087 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.8811, allocations: 4 kB / 1.087 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002697/0.8838, allocations: 1.171 MB / 1.088 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8838, allocations: 0 / 1.088 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.8838, allocations: 8 kB / 1.088 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009519/0.8848, allocations: 231.9 kB / 1.088 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.8848, allocations: 15.94 kB / 1.088 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.8862, allocations: 207.1 kB / 1.088 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/0.8863, allocations: 35.97 kB / 1.088 GB, free: 7.508 MB / 0.8419 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.0007641/0.887, allocations: 430 kB / 1.089 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/0.8873, allocations: 154.1 kB / 1.089 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.8901, allocations: 1.277 MB / 1.09 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.8901, allocations: 4 kB / 1.09 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8901, allocations: 0 / 1.09 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.8901, allocations: 7.984 kB / 1.09 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/0.895, allocations: 2.739 MB / 1.093 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.8951, allocations: 4.031 kB / 1.093 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.8957, allocations: 139.8 kB / 1.093 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/0.8958, allocations: 11.95 kB / 1.093 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/0.8958, allocations: 27.97 kB / 1.093 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.8959, allocations: 7.938 kB / 1.093 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.8959, allocations: 7.938 kB / 1.093 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.8983, allocations: 1.276 MB / 1.094 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007552/0.8991, allocations: 394.8 kB / 1.095 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/0.8994, allocations: 19.95 kB / 1.095 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.9005, allocations: 135.7 kB / 1.095 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.9007, allocations: 52.36 kB / 1.095 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.555e-05/0.9008, allocations: 39.91 kB / 1.095 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002247/0.903, allocations: 1.149 MB / 1.096 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9031, allocations: 0 / 1.096 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002563/0.9056, allocations: 0.7059 MB / 1.097 GB, free: 14.79 MB / 0.8575 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.004603/0.9102, allocations: 2.473 MB / 1.099 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004186/0.9144, allocations: 1.722 MB / 1.101 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9145, allocations: 0 / 1.101 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.9155, allocations: 0.5067 MB / 1.101 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/0.919, allocations: 0.6182 MB / 1.102 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/0.9398, allocations: 9.632 MB / 1.111 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.9408, allocations: 1.239 MB / 1.112 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001889/0.9427, allocations: 415.7 kB / 1.113 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009464/0.9437, allocations: 0.5695 MB / 1.113 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of SimCode: time 1.453e-06/0.9437, allocations: 0 / 1.113 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07526/1.019, allocations: 40.26 MB / 1.153 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/1.019, allocations: 258.5 kB / 1.153 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/3.909, allocations: 0 / 1.153 GB, free: 5.324 MB / 0.9044 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) Environment - environmentSimulation: 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