Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.322/2.322, allocations: 393.5 MB / 408.4 MB, free: 11.15 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.001341/0.001341, allocations: 183.3 kB / 0.4901 GB, free: 2.324 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.644/1.644, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.001234/0.001234, allocations: 104.2 kB / 0.9396 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005808/0.0005809, allocations: 10 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3944, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2541/0.6485, allocations: 156.7 MB / 1.382 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.6489, allocations: 91.88 kB / 1.382 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02427/0.6732, allocations: 8.239 MB / 1.39 GB, free: 204 kB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6733, allocations: 0 / 1.39 GB, free: 204 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.6733, allocations: 0 / 1.39 GB, free: 204 kB / 0.8855 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.0009246/0.6742, allocations: 0.5028 MB / 1.391 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.6743, allocations: 8.031 kB / 1.391 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.6744, allocations: 54.55 kB / 1.391 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/0.6749, allocations: 91.67 kB / 1.391 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.675, allocations: 182.8 kB / 1.391 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-05/0.6751, allocations: 49.69 kB / 1.391 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.6752, allocations: 12 kB / 1.391 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.6756, allocations: 189.2 kB / 1.391 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6756, allocations: 4 kB / 1.391 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.6757, allocations: 8 kB / 1.391 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.6757, allocations: 7.953 kB / 1.391 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.6761, allocations: 179.9 kB / 1.392 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.6776, allocations: 0.9381 MB / 1.393 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.6782, allocations: 186.5 kB / 1.393 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/0.6789, allocations: 0.5259 MB / 1.393 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.6789, allocations: 34.56 kB / 1.393 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.6789, allocations: 0 / 1.393 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of matching and sorting (n=14): time 0.0007152/0.6796, allocations: 245.8 kB / 1.394 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.6797, allocations: 55.34 kB / 1.394 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.6798, allocations: 145.3 kB / 1.394 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.6799, allocations: 29.7 kB / 1.394 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.68, allocations: 119.7 kB / 1.394 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.68, allocations: 47.3 kB / 1.394 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.68, allocations: 8 kB / 1.394 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6802, allocations: 322.8 kB / 1.394 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.6804, allocations: 79.95 kB / 1.394 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.6806, allocations: 98.88 kB / 1.394 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.6808, allocations: 72.61 kB / 1.394 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6808, allocations: 0 / 1.394 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004995/0.6813, allocations: 223.2 kB / 1.395 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.6814, allocations: 8 kB / 1.395 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6814, allocations: 0 / 1.395 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.6814, allocations: 3.984 kB / 1.395 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.6817, allocations: 39.97 kB / 1.395 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.6817, allocations: 0 / 1.395 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.6819, allocations: 35.81 kB / 1.395 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.6819, allocations: 7.938 kB / 1.395 GB, free: 11.32 MB / 0.9011 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 0.0001272/0.682, allocations: 122.6 kB / 1.395 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.6821, allocations: 19.81 kB / 1.395 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.6826, allocations: 210.4 kB / 1.395 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6827, allocations: 0 / 1.395 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6827, allocations: 0 / 1.395 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6827, allocations: 7.938 kB / 1.395 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.6841, allocations: 0.9817 MB / 1.396 GB, free: 9.816 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6841, allocations: 0 / 1.396 GB, free: 9.816 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.6843, allocations: 36.03 kB / 1.396 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.6843, allocations: 4 kB / 1.396 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.6843, allocations: 8 kB / 1.396 GB, free: 9.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.6843, allocations: 4 kB / 1.396 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6843, allocations: 3.938 kB / 1.396 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.6849, allocations: 315.9 kB / 1.396 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/0.685, allocations: 96.91 kB / 1.397 GB, free: 9.309 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.685, allocations: 0 / 1.397 GB, free: 9.309 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.6852, allocations: 27.97 kB / 1.397 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.6853, allocations: 11.94 kB / 1.397 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.6853, allocations: 4 kB / 1.397 GB, free: 9.266 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.613e-05/0.6854, allocations: 123.2 kB / 1.397 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6854, allocations: 0 / 1.397 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005563/0.686, allocations: 139.8 kB / 1.397 GB, free: 9.008 MB / 0.9011 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.001262/0.6872, allocations: 1.12 MB / 1.398 GB, free: 7.844 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.6877, allocations: 183.8 kB / 1.398 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6877, allocations: 0 / 1.398 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.688, allocations: 92.03 kB / 1.398 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.6883, allocations: 39.91 kB / 1.398 GB, free: 7.535 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.6903, allocations: 1.202 MB / 1.399 GB, free: 6.273 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.6906, allocations: 0.7205 MB / 1.4 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.6908, allocations: 25.81 kB / 1.4 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.6909, allocations: 51.42 kB / 1.4 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of SimCode: time 3.81e-07/0.6909, allocations: 0 / 1.4 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.7091, allocations: 5.401 MB / 1.405 GB, free: 296 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.7093, allocations: 223.6 kB / 1.406 GB, free: 44 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.689, allocations: 0 / 1.406 GB, free: 44 kB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat does not exist to compare? outputFormat=mat