Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.ScrollCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.496/2.496, allocations: 390.5 MB / 398 MB, free: 10.96 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.001095/0.001095, allocations: 184.8 kB / 491.2 MB, free: 1.555 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.483/1.483, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0009536/0.0009534, allocations: 103.4 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.692e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2375, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.867/1.105, allocations: 156 MB / 1.365 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.105, allocations: 86.78 kB / 1.365 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02283/1.128, allocations: 8.235 MB / 1.373 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/1.128, allocations: 3.844 kB / 1.373 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.317e-06/1.128, allocations: 0 / 1.373 GB, free: 32.48 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000822/1.129, allocations: 0.496 MB / 1.373 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.129, allocations: 11.69 kB / 1.373 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/1.13, allocations: 144.6 kB / 1.373 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/1.13, allocations: 177.5 kB / 1.374 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/1.13, allocations: 40.08 kB / 1.374 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/1.13, allocations: 15.52 kB / 1.374 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002913/1.13, allocations: 170.1 kB / 1.374 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/1.131, allocations: 164.2 kB / 1.374 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.131, allocations: 3.844 kB / 1.374 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/1.131, allocations: 0 / 1.374 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/1.131, allocations: 7.797 kB / 1.374 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/1.132, allocations: 0.9345 MB / 1.375 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/1.132, allocations: 136.4 kB / 1.375 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/1.132, allocations: 75.95 kB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/1.133, allocations: 0.5245 MB / 1.376 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/1.133, allocations: 30.56 kB / 1.376 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/1.133, allocations: 3.938 kB / 1.376 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.001311/1.134, allocations: 302 kB / 1.376 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/1.134, allocations: 55.41 kB / 1.376 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/1.134, allocations: 111.2 kB / 1.376 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/1.134, allocations: 29.52 kB / 1.376 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/1.134, allocations: 121.5 kB / 1.376 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/1.134, allocations: 55.3 kB / 1.376 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/1.134, allocations: 0 / 1.376 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.135, allocations: 320.7 kB / 1.377 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/1.135, allocations: 69.84 kB / 1.377 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/1.135, allocations: 92.45 kB / 1.377 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.136, allocations: 182.5 kB / 1.377 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.136, allocations: 0 / 1.377 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001221/1.137, allocations: 313.8 kB / 1.377 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.137, allocations: 4.969 kB / 1.377 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.137, allocations: 7.875 kB / 1.377 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.137, allocations: 0 / 1.377 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/1.138, allocations: 58.16 kB / 1.377 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/1.138, allocations: 0 / 1.377 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/1.138, allocations: 33.25 kB / 1.377 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/1.138, allocations: 6.781 kB / 1.377 GB, free: 29.64 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 (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.0001027/1.138, allocations: 104.7 kB / 1.377 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001173/1.139, allocations: 288.2 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/1.139, allocations: 11.66 kB / 1.378 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/1.14, allocations: 312.6 kB / 1.378 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.14, allocations: 0 / 1.378 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.14, allocations: 0 / 1.378 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.141, allocations: 0 / 1.378 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/1.143, allocations: 1.084 MB / 1.379 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.143, allocations: 0 / 1.379 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/1.143, allocations: 52.27 kB / 1.379 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/1.143, allocations: 3.781 kB / 1.379 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/1.143, allocations: 7.188 kB / 1.379 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.143, allocations: 0 / 1.379 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.143, allocations: 3.875 kB / 1.379 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/1.144, allocations: 409.2 kB / 1.38 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/1.144, allocations: 90.78 kB / 1.38 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/1.144, allocations: 3.844 kB / 1.38 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/1.145, allocations: 19.48 kB / 1.38 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/1.145, allocations: 22.58 kB / 1.38 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/1.145, allocations: 7.781 kB / 1.38 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.314e-05/1.145, allocations: 93.8 kB / 1.38 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.145, allocations: 3.938 kB / 1.38 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005262/1.145, allocations: 150.9 kB / 1.38 GB, free: 28.21 MB / 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 (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.001949/1.147, allocations: 1.205 MB / 1.381 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003381/1.148, allocations: 163.8 kB / 1.381 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.148, allocations: 0 / 1.381 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/1.148, allocations: 82.39 kB / 1.381 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/1.148, allocations: 31.34 kB / 1.381 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/1.15, allocations: 416.8 kB / 1.382 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/1.15, allocations: 0.719 MB / 1.383 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001971/1.15, allocations: 32.28 kB / 1.383 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/1.151, allocations: 46.94 kB / 1.383 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.151, allocations: 0 / 1.383 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/1.179, allocations: 4.672 MB / 1.387 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/1.179, allocations: 159.6 kB / 1.387 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.873, allocations: 1.969 kB / 1.387 GB, free: 24.39 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat does not exist to compare? outputFormat=mat