Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.ScrollCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.258/2.258, 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.001114/0.001115, allocations: 185 kB / 498.1 MB, free: 5.684 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.5/1.5, allocations: 223.1 MB / 0.7948 GB, free: 18.87 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.0009481/0.0009479, allocations: 98.77 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003623, allocations: 9.688 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2865, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.4912, allocations: 155.9 MB / 1.375 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.4916, allocations: 91.94 kB / 1.375 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02514/0.5167, allocations: 8.287 MB / 1.383 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5168, allocations: 4 kB / 1.383 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.5168, allocations: 4 kB / 1.383 GB, free: 4.973 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001107/0.5179, allocations: 0.4992 MB / 1.384 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5179, allocations: 11.97 kB / 1.384 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.637e-05/0.5181, allocations: 54.55 kB / 1.384 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.5191, allocations: 147.6 kB / 1.384 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.5193, allocations: 186.8 kB / 1.384 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.5195, allocations: 49.69 kB / 1.384 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.5195, allocations: 16 kB / 1.384 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/0.5201, allocations: 217.3 kB / 1.385 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5201, allocations: 0 / 1.385 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.5202, allocations: 4 kB / 1.385 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.5202, allocations: 7.953 kB / 1.385 GB, free: 3.684 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007288/0.5209, allocations: 239.8 kB / 1.385 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.5227, allocations: 0.9742 MB / 1.386 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.5232, allocations: 182.6 kB / 1.386 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007504/0.5239, allocations: 0.5259 MB / 1.386 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.524, allocations: 42.5 kB / 1.386 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.524, allocations: 0 / 1.386 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.001184/0.5252, allocations: 336.3 kB / 1.387 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.5252, allocations: 51.41 kB / 1.387 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.5254, allocations: 146.7 kB / 1.387 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.5254, allocations: 37.62 kB / 1.387 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.5255, allocations: 120.2 kB / 1.387 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.5256, allocations: 51.2 kB / 1.387 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.5256, allocations: 0 / 1.387 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5258, allocations: 326.8 kB / 1.387 GB, free: 388 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.5261, allocations: 104.3 kB / 1.388 GB, free: 280 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.5265, allocations: 131.8 kB / 1.388 GB, free: 144 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.5269, allocations: 98.41 kB / 1.388 GB, free: 48 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5269, allocations: 0 / 1.388 GB, free: 48 kB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008203/0.5277, allocations: 268.2 kB / 1.388 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.5278, allocations: 11.94 kB / 1.388 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5278, allocations: 0 / 1.388 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.5278, allocations: 4 kB / 1.388 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.5282, allocations: 55.94 kB / 1.388 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.5282, allocations: 0 / 1.388 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.5285, allocations: 31.81 kB / 1.388 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.5285, allocations: 11.98 kB / 1.388 GB, free: 15.67 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 (22): * Single equations (assignments): 22 * 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.0001432/0.5287, allocations: 129.8 kB / 1.388 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.5288, allocations: 11.91 kB / 1.388 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008526/0.5296, allocations: 274.5 kB / 1.389 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5296, allocations: 4 kB / 1.389 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5296, allocations: 0 / 1.389 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5296, allocations: 3.984 kB / 1.389 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.5316, allocations: 1.073 MB / 1.39 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5316, allocations: 7.938 kB / 1.39 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.532, allocations: 35.97 kB / 1.39 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/0.532, allocations: 4 kB / 1.39 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.532, allocations: 4 kB / 1.39 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.532, allocations: 4 kB / 1.39 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.532, allocations: 4.062 kB / 1.39 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008314/0.5329, allocations: 372.3 kB / 1.39 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/0.533, allocations: 100.9 kB / 1.39 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.533, allocations: 4 kB / 1.39 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.5334, allocations: 31.91 kB / 1.39 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.5334, allocations: 7.984 kB / 1.39 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.5334, allocations: 8 kB / 1.39 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000102/0.5335, allocations: 131.1 kB / 1.39 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5335, allocations: 0 / 1.39 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006172/0.5342, allocations: 139.8 kB / 1.39 GB, free: 13.12 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 (16): * Single equations (assignments): 16 * 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.001676/0.5359, allocations: 1.181 MB / 1.392 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007554/0.5366, allocations: 223.8 kB / 1.392 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5366, allocations: 4 kB / 1.392 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.537, allocations: 119.9 kB / 1.392 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.5373, allocations: 55.86 kB / 1.392 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.5413, allocations: 1.446 MB / 1.393 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.5417, allocations: 0.7167 MB / 1.394 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.5419, allocations: 33.48 kB / 1.394 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.542, allocations: 43.42 kB / 1.394 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of SimCode: time 9.02e-07/0.542, allocations: 0 / 1.394 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.5607, allocations: 5.665 MB / 1.4 GB, free: 3.715 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.5609, allocations: 189.6 kB / 1.4 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.361, allocations: 0 / 1.4 GB, free: 3.48 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat does not exist to compare? outputFormat=mat