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.425/2.425, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001189/0.001188, allocations: 183 kB / 0.4902 GB, free: 2.301 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.594/1.594, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001029/0.001029, allocations: 95.28 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 14.94 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3486, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2181/0.5668, allocations: 156.7 MB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.5671, allocations: 87.94 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02623/0.5934, allocations: 8.295 MB / 1.391 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5934, allocations: 3.938 kB / 1.391 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.5934, allocations: 4 kB / 1.391 GB, free: 4.375 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.001114/0.5946, allocations: 0.4992 MB / 1.391 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5946, allocations: 8.562 kB / 1.391 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.581e-05/0.5947, allocations: 58.55 kB / 1.391 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.5959, allocations: 147.6 kB / 1.391 GB, free: 3.609 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.5961, allocations: 174.9 kB / 1.391 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.5962, allocations: 49.69 kB / 1.391 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.5963, allocations: 16 kB / 1.391 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.5969, allocations: 217 kB / 1.392 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5969, allocations: 0 / 1.392 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.597, allocations: 7.938 kB / 1.392 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.597, allocations: 11.94 kB / 1.392 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.5977, allocations: 239.9 kB / 1.392 GB, free: 2.855 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.5996, allocations: 0.9894 MB / 1.393 GB, free: 1.742 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.6001, allocations: 182.5 kB / 1.393 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007755/0.6009, allocations: 0.5298 MB / 1.394 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.6009, allocations: 34.56 kB / 1.394 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.175e-06/0.6009, allocations: 0 / 1.394 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.001156/0.6021, allocations: 340.3 kB / 1.394 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.6022, allocations: 55.34 kB / 1.394 GB, free: 480 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.6023, allocations: 147.4 kB / 1.394 GB, free: 328 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.6024, allocations: 25.7 kB / 1.394 GB, free: 296 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.6025, allocations: 120.2 kB / 1.394 GB, free: 168 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.6025, allocations: 51.2 kB / 1.394 GB, free: 116 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.6026, allocations: 8 kB / 1.394 GB, free: 108 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6027, allocations: 326.8 kB / 1.395 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.6031, allocations: 100.3 kB / 1.395 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.6034, allocations: 123.7 kB / 1.395 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.6038, allocations: 99.16 kB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6038, allocations: 0 / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008032/0.6046, allocations: 275 kB / 1.395 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6046, allocations: 7.953 kB / 1.395 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6046, allocations: 4.031 kB / 1.395 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.6047, allocations: 4 kB / 1.395 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.605, allocations: 47.95 kB / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.605, allocations: 3.938 kB / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.6053, allocations: 39.73 kB / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.6054, allocations: 15.92 kB / 1.395 GB, free: 15.06 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.0001501/0.6055, allocations: 122.7 kB / 1.395 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.6056, allocations: 15.91 kB / 1.395 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008245/0.6064, allocations: 274.5 kB / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6064, allocations: 4 kB / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6065, allocations: 0 / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6065, allocations: 0 / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.6084, allocations: 1.077 MB / 1.397 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6084, allocations: 0 / 1.397 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.6087, allocations: 47.91 kB / 1.397 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.6088, allocations: 0 / 1.397 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.6088, allocations: 11.98 kB / 1.397 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6088, allocations: 4 kB / 1.397 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6088, allocations: 0 / 1.397 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.6096, allocations: 376.3 kB / 1.397 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.6097, allocations: 93 kB / 1.397 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.6098, allocations: 4 kB / 1.397 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.6101, allocations: 23.97 kB / 1.397 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.6102, allocations: 11.98 kB / 1.397 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.6102, allocations: 11.98 kB / 1.397 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001083/0.6103, allocations: 129.2 kB / 1.397 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6103, allocations: 0 / 1.397 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005999/0.6109, allocations: 143.7 kB / 1.398 GB, free: 12.51 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.001799/0.6127, allocations: 1.166 MB / 1.399 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007799/0.6135, allocations: 241.1 kB / 1.399 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6135, allocations: 0 / 1.399 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.6139, allocations: 120 kB / 1.399 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.6143, allocations: 47.88 kB / 1.399 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.6183, allocations: 1.432 MB / 1.4 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.6187, allocations: 0.7167 MB / 1.401 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.6189, allocations: 29.48 kB / 1.401 GB, free: 8.645 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.6191, allocations: 47.41 kB / 1.401 GB, free: 8.598 MB / 0.9011 GB Notification: Performance of SimCode: time 1.954e-06/0.6191, allocations: 0 / 1.401 GB, free: 8.598 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.6426, allocations: 5.661 MB / 1.407 GB, free: 3.145 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/0.6429, allocations: 206.7 kB / 1.407 GB, free: 2.898 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.683, allocations: 0 / 1.407 GB, free: 2.898 MB / 0.9011 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