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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001195/0.001195, allocations: 187.2 kB / 498.1 MB, free: 5.727 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.542/1.542, allocations: 223.2 MB / 0.7948 GB, free: 18.79 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.0008754/0.0008754, allocations: 88.33 kB / 0.9346 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.000405, allocations: 10.64 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.308, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.4988, allocations: 155.9 MB / 1.375 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.4991, allocations: 91.94 kB / 1.375 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02366/0.5227, allocations: 8.228 MB / 1.383 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5228, allocations: 0 / 1.383 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.5228, allocations: 4 kB / 1.383 GB, free: 5.031 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.0009042/0.5237, allocations: 0.5042 MB / 1.384 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5238, allocations: 8.031 kB / 1.384 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.328e-05/0.5239, allocations: 54.55 kB / 1.384 GB, free: 4.406 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004757/0.5243, allocations: 87.78 kB / 1.384 GB, free: 4.32 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.5245, allocations: 182.8 kB / 1.384 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.8e-05/0.5246, allocations: 45.7 kB / 1.384 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.5246, allocations: 15.98 kB / 1.384 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.5251, allocations: 189.4 kB / 1.384 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5251, allocations: 0 / 1.384 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.5251, allocations: 4 kB / 1.384 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.5251, allocations: 7.953 kB / 1.384 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.5256, allocations: 187.9 kB / 1.385 GB, free: 3.648 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.527, allocations: 0.9306 MB / 1.385 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.5275, allocations: 178.6 kB / 1.386 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006956/0.5282, allocations: 0.5181 MB / 1.386 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.5283, allocations: 38.56 kB / 1.386 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.5283, allocations: 0 / 1.386 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0007077/0.529, allocations: 249.7 kB / 1.386 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.529, allocations: 59.28 kB / 1.386 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.5292, allocations: 151.8 kB / 1.387 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.5292, allocations: 33.7 kB / 1.387 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.5293, allocations: 115.8 kB / 1.387 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.5293, allocations: 51.28 kB / 1.387 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.5294, allocations: 0 / 1.387 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5295, allocations: 326.8 kB / 1.387 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.5297, allocations: 75.95 kB / 1.387 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.5299, allocations: 97.67 kB / 1.387 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.5301, allocations: 73.48 kB / 1.387 GB, free: 492 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5301, allocations: 3.984 kB / 1.387 GB, free: 488 kB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004747/0.5306, allocations: 226.5 kB / 1.388 GB, free: 256 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5306, allocations: 4 kB / 1.388 GB, free: 252 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5306, allocations: 0 / 1.388 GB, free: 252 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5307, allocations: 0 / 1.388 GB, free: 252 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.5309, allocations: 43.91 kB / 1.388 GB, free: 208 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5309, allocations: 32 / 1.388 GB, free: 208 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.5311, allocations: 31.73 kB / 1.388 GB, free: 176 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.5312, allocations: 12 kB / 1.388 GB, free: 164 kB / 0.8855 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.0001111/0.5313, allocations: 129.8 kB / 1.388 GB, free: 24 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.5313, allocations: 7.906 kB / 1.388 GB, free: 16 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.5319, allocations: 206.4 kB / 1.388 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5319, allocations: 0 / 1.388 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5319, allocations: 4 kB / 1.388 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5319, allocations: 3.984 kB / 1.388 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.5334, allocations: 0.9932 MB / 1.389 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5334, allocations: 8.062 kB / 1.389 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.5336, allocations: 27.92 kB / 1.389 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5336, allocations: 4 kB / 1.389 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.5336, allocations: 3.984 kB / 1.389 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5336, allocations: 4 kB / 1.389 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5336, allocations: 0 / 1.389 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.5341, allocations: 324.4 kB / 1.389 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.5342, allocations: 89 kB / 1.389 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.5343, allocations: 12 kB / 1.389 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.5345, allocations: 11.98 kB / 1.389 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.5345, allocations: 23.86 kB / 1.389 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.5345, allocations: 4 kB / 1.389 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.395e-05/0.5346, allocations: 121.5 kB / 1.39 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5346, allocations: 0 / 1.39 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005219/0.5352, allocations: 135.8 kB / 1.39 GB, free: 13.85 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.001293/0.5365, allocations: 1.143 MB / 1.391 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.537, allocations: 175.9 kB / 1.391 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.537, allocations: 0 / 1.391 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.5372, allocations: 91.95 kB / 1.391 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.5375, allocations: 31.98 kB / 1.391 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.5394, allocations: 1.206 MB / 1.392 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.5397, allocations: 0.7166 MB / 1.393 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.5399, allocations: 25.81 kB / 1.393 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.773e-05/0.54, allocations: 47.42 kB / 1.393 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.54, allocations: 0 / 1.393 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.5585, allocations: 5.38 MB / 1.398 GB, free: 5.113 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.5588, allocations: 201.5 kB / 1.398 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.419, allocations: 3.938 kB / 1.398 GB, free: 4.871 MB / 0.9011 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