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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.0009313, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004816, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6681/0.6686, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001696/0.6703, allocations: 1.705 MB / 0.9555 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.6722, allocations: 1.546 MB / 0.957 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.6722, allocations: 1.156 kB / 0.957 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.6723, allocations: 18.75 kB / 0.957 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.912e-05/0.6724, allocations: 41.31 kB / 0.9571 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008287/0.6732, allocations: 266.4 kB / 0.9573 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.6734, allocations: 213.7 kB / 0.9575 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.6736, allocations: 42.14 kB / 0.9576 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.6736, allocations: 73.17 kB / 0.9577 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.6738, allocations: 81.55 kB / 0.9577 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.6738, allocations: 10.03 kB / 0.9577 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007106/0.6745, allocations: 382.3 kB / 0.9581 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.6746, allocations: 34.23 kB / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.6746, allocations: 55.83 kB / 0.9582 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.675, allocations: 324 kB / 0.9585 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.675, allocations: 0 / 0.9585 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.675, allocations: 0 / 0.9585 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.675, allocations: 0 / 0.9585 GB, free: 4.59 MB / 0.7169 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.0007046/0.6757, allocations: 0.4958 MB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.6758, allocations: 9.625 kB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.6758, allocations: 51.98 kB / 0.959 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000931/0.6767, allocations: 151.6 kB / 0.9592 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.6768, allocations: 176.4 kB / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/0.6769, allocations: 46.06 kB / 0.9594 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.677, allocations: 19 kB / 0.9594 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.6774, allocations: 223.3 kB / 0.9596 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.6775, allocations: 0 / 0.9596 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.6775, allocations: 9 kB / 0.9596 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.6775, allocations: 7.828 kB / 0.9596 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.6781, allocations: 237.3 kB / 0.9599 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.6793, allocations: 0.9591 MB / 0.9608 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.6797, allocations: 188 kB / 0.961 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.68, allocations: 111.9 kB / 0.9611 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004637/0.6805, allocations: 0.525 MB / 0.9616 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.6805, allocations: 35.59 kB / 0.9616 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.6805, allocations: 0 / 0.9616 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0009956/0.6815, allocations: 339.4 kB / 0.962 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.6816, allocations: 53.56 kB / 0.962 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.6817, allocations: 157.4 kB / 0.9622 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.6817, allocations: 26.8 kB / 0.9622 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.6818, allocations: 126 kB / 0.9623 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.6818, allocations: 58.12 kB / 0.9624 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.6818, allocations: 5.031 kB / 0.9624 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.6819, allocations: 325.8 kB / 0.9627 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.6822, allocations: 98 kB / 0.9628 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.6825, allocations: 125.9 kB / 0.9629 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.6828, allocations: 99.55 kB / 0.963 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6828, allocations: 1.344 kB / 0.963 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006757/0.6835, allocations: 272.7 kB / 0.9633 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6835, allocations: 8.578 kB / 0.9633 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6835, allocations: 5.219 kB / 0.9633 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.6835, allocations: 1.312 kB / 0.9633 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.6839, allocations: 57.48 kB / 0.9633 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6839, allocations: 0.8438 kB / 0.9633 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.6841, allocations: 38.78 kB / 0.9634 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.6842, allocations: 9.312 kB / 0.9634 GB, free: 488 kB / 0.7169 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 9.028e-05/0.6843, allocations: 124.6 kB / 0.9635 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.6843, allocations: 11.03 kB / 0.9635 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.685, allocations: 285 kB / 0.9638 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.685, allocations: 2.094 kB / 0.9638 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6851, allocations: 0 / 0.9638 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6851, allocations: 3.984 kB / 0.9638 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.6867, allocations: 1.069 MB / 0.9648 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6867, allocations: 0 / 0.9648 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.687, allocations: 43.06 kB / 0.9649 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.687, allocations: 5.5 kB / 0.9649 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.687, allocations: 6.406 kB / 0.9649 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.687, allocations: 1.031 kB / 0.9649 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.687, allocations: 5.422 kB / 0.9649 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.6878, allocations: 352.9 kB / 0.9652 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.6878, allocations: 101.6 kB / 0.9653 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.6879, allocations: 1.094 kB / 0.9653 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.6882, allocations: 27.44 kB / 0.9653 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.6882, allocations: 8.922 kB / 0.9653 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.6882, allocations: 16.86 kB / 0.9654 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.169e-05/0.6883, allocations: 118.7 kB / 0.9655 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6884, allocations: 0 / 0.9655 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005002/0.6889, allocations: 129.9 kB / 0.9656 GB, free: 14.59 MB / 0.7325 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.001302/0.6902, allocations: 1.018 MB / 0.9666 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000683/0.6909, allocations: 228.7 kB / 0.9668 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6909, allocations: 5.031 kB / 0.9668 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.6912, allocations: 114.4 kB / 0.9669 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.6916, allocations: 37.23 kB / 0.967 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.6951, allocations: 1.287 MB / 0.9682 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.6954, allocations: 0.7187 MB / 0.9689 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.6956, allocations: 34.05 kB / 0.969 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.6958, allocations: 43.2 kB / 0.969 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of SimCode: time 6.32e-07/0.6958, allocations: 0 / 0.969 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.7133, allocations: 5.903 MB / 0.9748 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.7136, allocations: 214.1 kB / 0.975 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.616, allocations: 0 / 0.975 GB, free: 8.836 MB / 0.7325 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