Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001187/0.001187, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001421/0.001421, allocations: 177.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.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.375 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.378/2.378, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 16 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6756/0.676, allocations: 142.3 MB / 0.9536 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001959/0.678, allocations: 1.619 MB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.68, allocations: 1.475 MB / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.6801, allocations: 0.9375 kB / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.6802, allocations: 18.44 kB / 0.9566 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.6803, allocations: 42.17 kB / 0.9567 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.6813, allocations: 274.1 kB / 0.9569 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.6816, allocations: 142.8 kB / 0.9571 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.6817, allocations: 50.02 kB / 0.9571 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.6818, allocations: 62.94 kB / 0.9572 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.682, allocations: 77.27 kB / 0.9573 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.682, allocations: 9.812 kB / 0.9573 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008543/0.6829, allocations: 387.6 kB / 0.9576 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.683, allocations: 34.09 kB / 0.9577 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.683, allocations: 56.61 kB / 0.9577 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.6835, allocations: 310.2 kB / 0.958 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.6835, allocations: 0 / 0.958 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6836, allocations: 0 / 0.958 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.6836, allocations: 0 / 0.958 GB, free: 4.98 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007376/0.6843, allocations: 0.4914 MB / 0.9585 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6844, allocations: 9 kB / 0.9585 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.804e-05/0.6844, allocations: 55.83 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005733/0.685, allocations: 101.6 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.6851, allocations: 179 kB / 0.9588 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.082e-05/0.6852, allocations: 46.06 kB / 0.9589 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.6853, allocations: 17.62 kB / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.6857, allocations: 180.8 kB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6857, allocations: 0 / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.6857, allocations: 9.375 kB / 0.9591 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6857, allocations: 8.078 kB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.6861, allocations: 189.5 kB / 0.9593 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.6874, allocations: 0.9215 MB / 0.9602 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.6879, allocations: 184.4 kB / 0.9603 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000514/0.6884, allocations: 0.5206 MB / 0.9608 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.6884, allocations: 40.52 kB / 0.9609 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.6884, allocations: 0 / 0.9609 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0007024/0.6891, allocations: 248.9 kB / 0.9611 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.6892, allocations: 57.2 kB / 0.9612 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.6893, allocations: 158.3 kB / 0.9613 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.6893, allocations: 27.73 kB / 0.9613 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.6894, allocations: 125.1 kB / 0.9615 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.6894, allocations: 53.89 kB / 0.9615 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.6894, allocations: 0.9688 kB / 0.9615 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.6895, allocations: 329.8 kB / 0.9618 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.6897, allocations: 75.23 kB / 0.9619 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.6899, allocations: 96.28 kB / 0.962 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.6901, allocations: 72.72 kB / 0.9621 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.6901, allocations: 0.9375 kB / 0.9621 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004778/0.6906, allocations: 223 kB / 0.9623 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6906, allocations: 10.03 kB / 0.9623 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.6906, allocations: 0.875 kB / 0.9623 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6907, allocations: 2.094 kB / 0.9623 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.6909, allocations: 45.16 kB / 0.9623 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6909, allocations: 1.844 kB / 0.9623 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.6911, allocations: 25.95 kB / 0.9624 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.6911, allocations: 4.844 kB / 0.9624 GB, free: 1.145 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.261e-05/0.6912, allocations: 132 kB / 0.9625 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.6913, allocations: 11.03 kB / 0.9625 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.6918, allocations: 204.4 kB / 0.9627 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6918, allocations: 2.156 kB / 0.9627 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.6918, allocations: 4 kB / 0.9627 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6918, allocations: 0.6562 kB / 0.9627 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.6931, allocations: 0.9962 MB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6931, allocations: 1.031 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.6933, allocations: 31.64 kB / 0.9637 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.6933, allocations: 5.062 kB / 0.9637 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.6933, allocations: 6.078 kB / 0.9637 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6933, allocations: 2.094 kB / 0.9637 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6933, allocations: 0 / 0.9637 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.6939, allocations: 323.6 kB / 0.964 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.6939, allocations: 92.62 kB / 0.9641 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.694, allocations: 6.5 kB / 0.9641 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.6942, allocations: 13.52 kB / 0.9641 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.6943, allocations: 28.86 kB / 0.9642 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.6943, allocations: 4.969 kB / 0.9642 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.832e-05/0.6944, allocations: 121 kB / 0.9643 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6944, allocations: 0.9062 kB / 0.9643 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005087/0.6949, allocations: 126 kB / 0.9644 GB, free: 15.33 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.001213/0.6961, allocations: 1.121 MB / 0.9655 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004817/0.6966, allocations: 180.6 kB / 0.9657 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6966, allocations: 0 / 0.9657 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.6968, allocations: 86.92 kB / 0.9658 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.6971, allocations: 41.16 kB / 0.9658 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.6991, allocations: 1.192 MB / 0.967 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.6994, allocations: 0.7151 MB / 0.9677 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000169/0.6995, allocations: 29.05 kB / 0.9677 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/0.6996, allocations: 42.23 kB / 0.9677 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.6996, allocations: 0 / 0.9677 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.7167, allocations: 5.598 MB / 0.9732 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.7169, allocations: 203.5 kB / 0.9734 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.531, allocations: 0 / 0.9734 GB, free: 9.629 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat does not exist to compare? outputFormat=mat