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.505/2.505, 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.001228/0.001228, allocations: 192.8 kB / 496.1 MB, free: 12.85 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.58/1.58, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009425/0.0009427, allocations: 83.95 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.625e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2977, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8436/1.141, allocations: 156.7 MB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/1.142, allocations: 84.7 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02448/1.166, allocations: 8.268 MB / 1.38 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/1.166, allocations: 0 / 1.38 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.879e-06/1.166, allocations: 4 kB / 1.38 GB, free: 6.246 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.0008472/1.167, allocations: 0.4898 MB / 1.38 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.167, allocations: 15.97 kB / 1.38 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/1.167, allocations: 51.86 kB / 1.381 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.168, allocations: 151.6 kB / 1.381 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/1.168, allocations: 174.9 kB / 1.381 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.25e-05/1.168, allocations: 52.94 kB / 1.381 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/1.169, allocations: 11.69 kB / 1.381 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/1.169, allocations: 181.7 kB / 1.381 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/1.169, allocations: 0 / 1.381 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/1.169, allocations: 11.31 kB / 1.381 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/1.169, allocations: 7.953 kB / 1.381 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/1.169, allocations: 173.3 kB / 1.381 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/1.171, allocations: 0.9906 MB / 1.382 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/1.171, allocations: 155.8 kB / 1.382 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/1.171, allocations: 89.42 kB / 1.382 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007156/1.172, allocations: 0.5139 MB / 1.383 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/1.172, allocations: 38.55 kB / 1.383 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/1.172, allocations: 0 / 1.383 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004373/1.173, allocations: 173 kB / 1.383 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/1.173, allocations: 55.41 kB / 1.383 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/1.173, allocations: 147 kB / 1.383 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/1.173, allocations: 28.89 kB / 1.383 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.173, allocations: 122.6 kB / 1.384 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/1.173, allocations: 53.83 kB / 1.384 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/1.173, allocations: 7.25 kB / 1.384 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.173, allocations: 325.3 kB / 1.384 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/1.173, allocations: 68.81 kB / 1.384 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/1.174, allocations: 99.08 kB / 1.384 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/1.174, allocations: 61.73 kB / 1.384 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.174, allocations: 0 / 1.384 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003808/1.174, allocations: 214.6 kB / 1.384 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.174, allocations: 7.953 kB / 1.384 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/1.174, allocations: 8.016 kB / 1.384 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.174, allocations: 0 / 1.384 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/1.175, allocations: 47.97 kB / 1.384 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.175, allocations: 0 / 1.384 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/1.175, allocations: 43.16 kB / 1.384 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/1.175, allocations: 7.25 kB / 1.384 GB, free: 1.934 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.0001162/1.175, allocations: 112.5 kB / 1.385 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/1.175, allocations: 15.84 kB / 1.385 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004528/1.175, allocations: 219.7 kB / 1.385 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.176, allocations: 7.938 kB / 1.385 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.176, allocations: 0 / 1.385 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.176, allocations: 0 / 1.385 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/1.177, allocations: 1.016 MB / 1.386 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.177, allocations: 8.047 kB / 1.386 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/1.177, allocations: 39.97 kB / 1.386 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.177, allocations: 0 / 1.386 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/1.177, allocations: 4 kB / 1.386 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.177, allocations: 0 / 1.386 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.177, allocations: 3.938 kB / 1.386 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/1.178, allocations: 315.9 kB / 1.386 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/1.178, allocations: 99.72 kB / 1.386 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/1.178, allocations: 4 kB / 1.386 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/1.178, allocations: 27.41 kB / 1.386 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/1.178, allocations: 14.98 kB / 1.386 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/1.178, allocations: 11.94 kB / 1.386 GB, free: 76 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001148/1.179, allocations: 118.2 kB / 1.386 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.179, allocations: 0 / 1.386 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005739/1.179, allocations: 138.7 kB / 1.386 GB, free: 15.84 MB / 0.8542 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.001272/1.18, allocations: 1.124 MB / 1.388 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003487/1.181, allocations: 165.6 kB / 1.388 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.181, allocations: 4 kB / 1.388 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/1.181, allocations: 84.36 kB / 1.388 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/1.181, allocations: 49.17 kB / 1.388 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/1.183, allocations: 431.4 kB / 1.388 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/1.184, allocations: 0.7168 MB / 1.389 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002183/1.184, allocations: 39.17 kB / 1.389 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/1.184, allocations: 40.97 kB / 1.389 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/1.184, allocations: 0 / 1.389 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/1.203, allocations: 5.665 MB / 1.395 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/1.204, allocations: 172.7 kB / 1.395 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/3.092, allocations: 2.25 kB / 1.395 GB, free: 7.637 MB / 0.8542 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