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.51/2.51, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.0015/0.0015, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0008323/0.0008323, allocations: 91.94 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.762e-05/4.777e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2676, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9056/1.173, allocations: 156.6 MB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/1.174, allocations: 89.44 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02593/1.2, allocations: 8.207 MB / 1.38 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.013e-06/1.2, allocations: 0 / 1.38 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.151e-05/1.2, allocations: 0 / 1.38 GB, free: 6.258 MB / 0.8386 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.0009478/1.201, allocations: 0.4971 MB / 1.38 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.201, allocations: 8.031 kB / 1.38 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.594e-05/1.201, allocations: 48.98 kB / 1.38 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/1.201, allocations: 91.59 kB / 1.381 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/1.202, allocations: 174.9 kB / 1.381 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/1.202, allocations: 49 kB / 1.381 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/1.202, allocations: 15.62 kB / 1.381 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/1.202, allocations: 168.9 kB / 1.381 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.202, allocations: 0 / 1.381 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/1.202, allocations: 13.75 kB / 1.381 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.202, allocations: 7.953 kB / 1.381 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/1.202, allocations: 153.6 kB / 1.381 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/1.204, allocations: 0.9392 MB / 1.382 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/1.204, allocations: 132.7 kB / 1.382 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/1.204, allocations: 71.48 kB / 1.382 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/1.205, allocations: 0.5159 MB / 1.383 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.205, allocations: 38.55 kB / 1.383 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/1.205, allocations: 0 / 1.383 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.000399/1.205, allocations: 139.7 kB / 1.383 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/1.206, allocations: 55.39 kB / 1.383 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/1.206, allocations: 149.3 kB / 1.383 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/1.206, allocations: 36.95 kB / 1.383 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/1.206, allocations: 120.5 kB / 1.383 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/1.206, allocations: 48.55 kB / 1.383 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/1.206, allocations: 0 / 1.383 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.206, allocations: 325.7 kB / 1.384 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/1.206, allocations: 57.62 kB / 1.384 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/1.206, allocations: 89.5 kB / 1.384 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/1.206, allocations: 56.91 kB / 1.384 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.206, allocations: 4 kB / 1.384 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003334/1.207, allocations: 184.4 kB / 1.384 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.207, allocations: 5.406 kB / 1.384 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.207, allocations: 0 / 1.384 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.207, allocations: 0 / 1.384 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/1.207, allocations: 39.97 kB / 1.384 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/1.207, allocations: 0 / 1.384 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/1.207, allocations: 31.3 kB / 1.384 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/1.207, allocations: 7.984 kB / 1.384 GB, free: 2.145 MB / 0.8386 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 () * 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.0001112/1.207, allocations: 121.5 kB / 1.384 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/1.208, allocations: 11.81 kB / 1.384 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/1.208, allocations: 167.6 kB / 1.384 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/1.208, allocations: 0 / 1.384 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.208, allocations: 4 kB / 1.384 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.208, allocations: 0 / 1.384 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/1.209, allocations: 0.9563 MB / 1.385 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.209, allocations: 4 kB / 1.385 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/1.21, allocations: 35.23 kB / 1.385 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/1.21, allocations: 0 / 1.385 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/1.21, allocations: 3.984 kB / 1.385 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.21, allocations: 4 kB / 1.385 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.21, allocations: 0 / 1.385 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/1.21, allocations: 296 kB / 1.386 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/1.21, allocations: 96.88 kB / 1.386 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/1.21, allocations: 0 / 1.386 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/1.21, allocations: 19.59 kB / 1.386 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/1.21, allocations: 15.94 kB / 1.386 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/1.21, allocations: 12 kB / 1.386 GB, free: 408 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.963e-05/1.211, allocations: 118.7 kB / 1.386 GB, free: 304 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.211, allocations: 0 / 1.386 GB, free: 304 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006169/1.211, allocations: 135.7 kB / 1.386 GB, free: 176 kB / 0.8386 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) * 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.001332/1.213, allocations: 1.098 MB / 1.387 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00031/1.213, allocations: 149.9 kB / 1.387 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.213, allocations: 0 / 1.387 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/1.213, allocations: 71.98 kB / 1.387 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/1.213, allocations: 42.55 kB / 1.387 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007969/1.214, allocations: 277.7 kB / 1.388 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/1.215, allocations: 0.7206 MB / 1.388 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000168/1.215, allocations: 21.83 kB / 1.388 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/1.215, allocations: 47.91 kB / 1.388 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/1.215, allocations: 3.938 kB / 1.388 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/1.239, allocations: 5.372 MB / 1.394 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.239, allocations: 186 kB / 1.394 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/3.02, allocations: 4 kB / 1.394 GB, free: 8.434 MB / 0.8542 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