Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.571/2.571, allocations: 393.5 MB / 408.4 MB, free: 10.81 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.001657/0.001657, allocations: 191.8 kB / 0.4901 GB, free: 2.066 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.568/1.568, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.00123/0.001229, allocations: 92.09 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005515/0.0005518, allocations: 7.812 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3867, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2703/0.6571, allocations: 156.7 MB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/0.6575, allocations: 95.92 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02586/0.6833, allocations: 8.244 MB / 1.39 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.036e-06/0.6834, allocations: 0 / 1.39 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.6834, allocations: 0 / 1.39 GB, free: 4.355 MB / 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.001237/0.6847, allocations: 0.4959 MB / 1.391 GB, free: 3.809 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.034e-05/0.6848, allocations: 8.031 kB / 1.391 GB, free: 3.801 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.6849, allocations: 50.55 kB / 1.391 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006015/0.6855, allocations: 99.67 kB / 1.391 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.6857, allocations: 174.9 kB / 1.391 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.6858, allocations: 49.62 kB / 1.391 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.6859, allocations: 16 kB / 1.391 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.6864, allocations: 185.3 kB / 1.391 GB, free: 3.176 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6864, allocations: 4 kB / 1.391 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.6864, allocations: 4 kB / 1.391 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.6865, allocations: 7.953 kB / 1.391 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/0.6869, allocations: 187.9 kB / 1.392 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.6888, allocations: 0.938 MB / 1.393 GB, free: 1.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.6893, allocations: 182.6 kB / 1.393 GB, free: 1.723 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008128/0.6902, allocations: 0.5258 MB / 1.393 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.6902, allocations: 34.81 kB / 1.393 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 2.054e-06/0.6902, allocations: 0 / 1.393 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0007674/0.691, allocations: 253.4 kB / 1.394 GB, free: 0.7891 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.6911, allocations: 51.41 kB / 1.394 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.6912, allocations: 145.6 kB / 1.394 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.6913, allocations: 25.7 kB / 1.394 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.6914, allocations: 119.8 kB / 1.394 GB, free: 436 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.6915, allocations: 47.34 kB / 1.394 GB, free: 388 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.6915, allocations: 0 / 1.394 GB, free: 388 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6917, allocations: 330.8 kB / 1.394 GB, free: 48 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.6919, allocations: 76 kB / 1.394 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.6921, allocations: 98.47 kB / 1.394 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.6924, allocations: 72.97 kB / 1.394 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6924, allocations: 0 / 1.394 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005476/0.6929, allocations: 226 kB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.693, allocations: 8.031 kB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.693, allocations: 0 / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.693, allocations: 3.984 kB / 1.395 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.6933, allocations: 43.92 kB / 1.395 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.6933, allocations: 3.984 kB / 1.395 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.6935, allocations: 27.77 kB / 1.395 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.6936, allocations: 8 kB / 1.395 GB, free: 15.48 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.0001553/0.6937, allocations: 130.6 kB / 1.395 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.6938, allocations: 11.81 kB / 1.395 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.6943, allocations: 214 kB / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6944, allocations: 0 / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.6944, allocations: 4 kB / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.6944, allocations: 3.984 kB / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.696, allocations: 0.9817 MB / 1.396 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6961, allocations: 4 kB / 1.396 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.6963, allocations: 35.91 kB / 1.396 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6963, allocations: 4 kB / 1.396 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.6963, allocations: 4.062 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6963, allocations: 4 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6963, allocations: 0 / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.6969, allocations: 312.5 kB / 1.396 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.697, allocations: 100.8 kB / 1.397 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.6971, allocations: 8 kB / 1.397 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.6973, allocations: 15.97 kB / 1.397 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.6974, allocations: 19.88 kB / 1.397 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.6974, allocations: 8 kB / 1.397 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001163/0.6975, allocations: 129.6 kB / 1.397 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6975, allocations: 0 / 1.397 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006318/0.6982, allocations: 135.8 kB / 1.397 GB, free: 13.16 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.001656/0.6998, allocations: 1.119 MB / 1.398 GB, free: 12 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.7004, allocations: 184.9 kB / 1.398 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7004, allocations: 0 / 1.398 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.7006, allocations: 87.84 kB / 1.398 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.701, allocations: 44.16 kB / 1.398 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.7034, allocations: 1.183 MB / 1.399 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.7039, allocations: 0.7245 MB / 1.4 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001953/0.7041, allocations: 25.83 kB / 1.4 GB, free: 9.672 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.7042, allocations: 47.41 kB / 1.4 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of SimCode: time 3.91e-07/0.7042, allocations: 0 / 1.4 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.7271, allocations: 5.381 MB / 1.405 GB, free: 4.453 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/0.7274, allocations: 210.7 kB / 1.406 GB, free: 4.211 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.844, allocations: 4 kB / 1.406 GB, free: 4.207 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat does not exist to compare? outputFormat=mat