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.001649/0.001649, allocations: 96.41 kB / 15.05 MB, free: 1.109 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.001675/0.001675, allocations: 181.3 kB / 15.95 MB, free: 216 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.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.596/2.596, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5418/0.5422, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.04632/0.5886, allocations: 52.51 MB / 1.032 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.6044, allocations: 11.3 MB / 1.043 GB, free: 6.309 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.6062, allocations: 51.62 kB / 1.043 GB, free: 6.258 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.6085, allocations: 0.8863 MB / 1.044 GB, free: 5.367 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005103/0.6136, allocations: 2.096 MB / 1.046 GB, free: 3.266 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.6176, allocations: 1.645 MB / 1.048 GB, free: 1.652 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00323/0.6209, allocations: 2.187 MB / 1.05 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.6221, allocations: 0.9746 MB / 1.051 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.6236, allocations: 1.02 MB / 1.052 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008106/0.6244, allocations: 0.735 MB / 1.053 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.6246, allocations: 60 kB / 1.053 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.6268, allocations: 1.084 MB / 1.054 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.6271, allocations: 318.8 kB / 1.054 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.6274, allocations: 348.7 kB / 1.054 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.6293, allocations: 2.011 MB / 1.056 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.6293, allocations: 4 kB / 1.056 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.305e-06/0.6293, allocations: 0 / 1.056 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.6294, allocations: 0 / 1.056 GB, free: 8.879 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.003053/0.6324, allocations: 1.848 MB / 1.058 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.6325, allocations: 8.031 kB / 1.058 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001878/0.6327, allocations: 147.4 kB / 1.058 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.6349, allocations: 0.552 MB / 1.059 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.637, allocations: 1.345 MB / 1.06 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000694/0.6377, allocations: 285.2 kB / 1.06 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.6379, allocations: 88 kB / 1.06 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.6402, allocations: 1.209 MB / 1.062 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.6403, allocations: 3.938 kB / 1.062 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.6404, allocations: 43.98 kB / 1.062 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.6404, allocations: 24 kB / 1.062 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.6432, allocations: 1.241 MB / 1.063 GB, free: 1.934 MB / 0.8106 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.006638/0.6499, allocations: 4.367 MB / 1.067 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007415/0.6573, allocations: 1.882 MB / 1.069 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000955/0.6583, allocations: 1.152 MB / 1.07 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.6593, allocations: 498.8 kB / 1.071 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=60): time 2.304e-06/0.6593, allocations: 0 / 1.071 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60): time 0.002887/0.6622, allocations: 1.27 MB / 1.072 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.6623, allocations: 89.67 kB / 1.072 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.6644, allocations: 1.537 MB / 1.073 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/0.6644, allocations: 45.69 kB / 1.073 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/0.6649, allocations: 0.6628 MB / 1.074 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.6651, allocations: 205.1 kB / 1.074 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.6652, allocations: 12 kB / 1.074 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6653, allocations: 333.9 kB / 1.075 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.6664, allocations: 461.7 kB / 1.075 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.6677, allocations: 0.6072 MB / 1.076 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.6688, allocations: 494.9 kB / 1.076 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6688, allocations: 3.984 kB / 1.076 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002725/0.6716, allocations: 1.229 MB / 1.077 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003567/0.6719, allocations: 0.9041 MB / 1.078 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.6719, allocations: 4 kB / 1.078 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.672, allocations: 4 kB / 1.078 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009835/0.6729, allocations: 235.7 kB / 1.078 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.673, allocations: 7.938 kB / 1.078 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.6743, allocations: 250.9 kB / 1.079 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-05/0.6744, allocations: 39.91 kB / 1.079 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.6744, allocations: 8 kB / 1.079 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002507/0.6769, allocations: 1.054 MB / 1.08 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.677, allocations: 0 / 1.08 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.677, allocations: 8 kB / 1.08 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009318/0.6779, allocations: 239.8 kB / 1.08 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6779, allocations: 4 kB / 1.08 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.6791, allocations: 215 kB / 1.08 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.6792, allocations: 39.97 kB / 1.08 GB, free: 15.38 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.00062/0.6798, allocations: 422.6 kB / 1.081 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.68, allocations: 154.1 kB / 1.081 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.6823, allocations: 1.188 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.6824, allocations: 11.95 kB / 1.082 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6824, allocations: 4 kB / 1.082 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.6824, allocations: 3.984 kB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003865/0.6863, allocations: 2.493 MB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.6863, allocations: 4 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/0.6869, allocations: 135.8 kB / 1.085 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.6869, allocations: 12.09 kB / 1.085 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.687, allocations: 19.98 kB / 1.085 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.687, allocations: 11.92 kB / 1.085 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.687, allocations: 4 kB / 1.085 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.6891, allocations: 1.336 MB / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/0.6897, allocations: 374.7 kB / 1.086 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.6899, allocations: 19.98 kB / 1.086 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.6909, allocations: 127.7 kB / 1.086 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.691, allocations: 60.23 kB / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.6911, allocations: 35.97 kB / 1.087 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001516/0.6926, allocations: 1.091 MB / 1.088 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6926, allocations: 0 / 1.088 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001532/0.6942, allocations: 0.698 MB / 1.088 GB, free: 6.973 MB / 0.8419 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.004015/0.6982, allocations: 3.201 MB / 1.091 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003638/0.7019, allocations: 1.562 MB / 1.093 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7019, allocations: 4.062 kB / 1.093 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009266/0.7028, allocations: 466.9 kB / 1.093 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.7053, allocations: 0.6056 MB / 1.094 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.7106, allocations: 5.395 MB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.7114, allocations: 1.27 MB / 1.1 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001403/0.7128, allocations: 391.4 kB / 1.101 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000712/0.7135, allocations: 0.5735 MB / 1.101 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of SimCode: time 7.02e-07/0.7135, allocations: 0 / 1.101 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6002/1.314, allocations: 38.68 MB / 1.139 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/1.314, allocations: 251.3 kB / 1.139 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/4.169, allocations: 0 / 1.139 GB, free: 2.922 MB / 0.8887 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