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.0007929/0.0007928, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.0008322/0.0008322, allocations: 172.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.333/1.333, allocations: 223.2 MB / 240 MB, free: 5.445 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.365/2.365, allocations: 390.4 MB / 0.6655 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.000336, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/0.7768, allocations: 142.3 MB / 0.9538 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.05491/0.8317, allocations: 57.84 MB / 1.01 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.8492, allocations: 12.19 MB / 1.022 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.8517, allocations: 55.62 kB / 1.022 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.8541, allocations: 0.7104 MB / 1.023 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004793/0.8589, allocations: 1.558 MB / 1.024 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.8621, allocations: 1.036 MB / 1.026 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004856/0.8669, allocations: 3.753 MB / 1.029 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.8687, allocations: 0.9432 MB / 1.03 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.8711, allocations: 1.093 MB / 1.031 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.8725, allocations: 0.9645 MB / 1.032 GB, free: 15.81 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.8728, allocations: 64 kB / 1.032 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.8754, allocations: 1.197 MB / 1.033 GB, free: 14.55 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.8758, allocations: 354.6 kB / 1.034 GB, free: 14.2 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.8764, allocations: 344.8 kB / 1.034 GB, free: 13.86 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.8791, allocations: 2.151 MB / 1.036 GB, free: 11.7 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8791, allocations: 0 / 1.036 GB, free: 11.7 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8791, allocations: 0 / 1.036 GB, free: 11.7 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.709e-05/0.8792, allocations: 0 / 1.036 GB, free: 11.7 MB / 0.795 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.003358/0.8825, allocations: 1.891 MB / 1.038 GB, free: 9.754 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.8826, allocations: 8.031 kB / 1.038 GB, free: 9.746 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/0.8828, allocations: 139.4 kB / 1.038 GB, free: 9.602 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.885, allocations: 0.552 MB / 1.039 GB, free: 9.047 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.8874, allocations: 1.335 MB / 1.04 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006584/0.8881, allocations: 285.2 kB / 1.04 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.8882, allocations: 88 kB / 1.04 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.8907, allocations: 1.263 MB / 1.042 GB, free: 5.992 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.8907, allocations: 4 kB / 1.042 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/0.8908, allocations: 36 kB / 1.042 GB, free: 5.953 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.8908, allocations: 24 kB / 1.042 GB, free: 5.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.8937, allocations: 1.343 MB / 1.043 GB, free: 4.586 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.006643/0.9004, allocations: 4.586 MB / 1.047 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006877/0.9073, allocations: 1.96 MB / 1.049 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009495/0.9082, allocations: 475.8 kB / 1.05 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007877/0.909, allocations: 1.152 MB / 1.051 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.9101, allocations: 0.5417 MB / 1.051 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 3.396e-06/0.9102, allocations: 0 / 1.051 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.003192/0.9134, allocations: 1.407 MB / 1.053 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.9134, allocations: 89.66 kB / 1.053 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.9159, allocations: 1.619 MB / 1.054 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.916, allocations: 45.69 kB / 1.054 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/0.9165, allocations: 0.6472 MB / 1.055 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.9168, allocations: 209 kB / 1.055 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.9168, allocations: 23.88 kB / 1.055 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.9169, allocations: 337.9 kB / 1.056 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.9181, allocations: 0.5016 MB / 1.056 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.9194, allocations: 0.6674 MB / 1.057 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.9206, allocations: 0.5302 MB / 1.057 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.9206, allocations: 4 kB / 1.057 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002984/0.9236, allocations: 1.323 MB / 1.059 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.9237, allocations: 166.3 kB / 1.059 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.9237, allocations: 3.984 kB / 1.059 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.9237, allocations: 8 kB / 1.059 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.9247, allocations: 231.7 kB / 1.059 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.9248, allocations: 4 kB / 1.059 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.9262, allocations: 250.9 kB / 1.059 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.744e-05/0.9264, allocations: 35.98 kB / 1.059 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.9264, allocations: 7.953 kB / 1.059 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002605/0.929, allocations: 1.163 MB / 1.06 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.929, allocations: 3.938 kB / 1.06 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.929, allocations: 8 kB / 1.06 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009283/0.93, allocations: 235.9 kB / 1.061 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.93, allocations: 7.938 kB / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.9314, allocations: 211 kB / 1.061 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.225e-05/0.9315, allocations: 39.97 kB / 1.061 GB, free: 1.43 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.0007625/0.9323, allocations: 428.9 kB / 1.061 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.9325, allocations: 158.1 kB / 1.061 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.9351, allocations: 1.281 MB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.9352, allocations: 4 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.9352, allocations: 7.984 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.9352, allocations: 4 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/0.9396, allocations: 2.746 MB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.9397, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.9404, allocations: 148.1 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.9404, allocations: 8 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/0.9405, allocations: 19.98 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.9405, allocations: 7.938 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.9405, allocations: 7.953 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.943, allocations: 1.288 MB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/0.9437, allocations: 394.8 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.9439, allocations: 12 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/0.9449, allocations: 127.8 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.945, allocations: 56.31 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/0.9451, allocations: 31.97 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001802/0.9469, allocations: 1.15 MB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9469, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001942/0.9489, allocations: 0.7058 MB / 1.069 GB, free: 8.703 MB / 0.8262 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.00423/0.9531, allocations: 2.486 MB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003965/0.9571, allocations: 1.714 MB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.9571, allocations: 4.062 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.9582, allocations: 0.5067 MB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/0.9615, allocations: 0.632 MB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.9807, allocations: 9.621 MB / 1.084 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007682/0.9815, allocations: 1.235 MB / 1.085 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001774/0.9833, allocations: 407.4 kB / 1.085 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008279/0.9841, allocations: 0.5695 MB / 1.086 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of SimCode: time 8.62e-07/0.9841, allocations: 0 / 1.086 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06619/1.05, allocations: 40.27 MB / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/1.051, allocations: 250.2 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.867, allocations: 2.656 kB / 1.126 GB, free: 15.14 MB / 0.8887 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