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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008877, allocations: 86.41 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.001082/0.001082, 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.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.412/2.412, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003358, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6702/0.6706, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001956/0.6726, allocations: 1.702 MB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.6746, allocations: 1.556 MB / 0.9843 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.6747, allocations: 0 / 0.9843 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.6747, allocations: 19.84 kB / 0.9843 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.6748, allocations: 39.69 kB / 0.9844 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.6755, allocations: 271.1 kB / 0.9846 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.6757, allocations: 211.1 kB / 0.9848 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.6758, allocations: 45.69 kB / 0.9849 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.6759, allocations: 67.84 kB / 0.9849 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.676, allocations: 83.67 kB / 0.985 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.6761, allocations: 8 kB / 0.985 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.6767, allocations: 383.5 kB / 0.9854 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.6768, allocations: 27.91 kB / 0.9854 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.6768, allocations: 61.64 kB / 0.9855 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.6772, allocations: 321.5 kB / 0.9858 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6772, allocations: 0 / 0.9858 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6772, allocations: 0 / 0.9858 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.6772, allocations: 0 / 0.9858 GB, free: 1.441 MB / 0.7325 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.000726/0.6779, allocations: 0.495 MB / 0.9863 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.678, allocations: 15.97 kB / 0.9863 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.53e-05/0.678, allocations: 54.48 kB / 0.9863 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009569/0.679, allocations: 147.7 kB / 0.9865 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.6791, allocations: 174.9 kB / 0.9867 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/0.6792, allocations: 49.69 kB / 0.9867 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.6793, allocations: 16 kB / 0.9867 GB, free: 404 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.6798, allocations: 225 kB / 0.9869 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6798, allocations: 0 / 0.9869 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.6799, allocations: 8 kB / 0.9869 GB, free: 164 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.6799, allocations: 4 kB / 0.9869 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006864/0.6806, allocations: 231.9 kB / 0.9872 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.6819, allocations: 0.9662 MB / 0.9881 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.6824, allocations: 178.7 kB / 0.9883 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.6827, allocations: 116.8 kB / 0.9884 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/0.6833, allocations: 0.5223 MB / 0.9889 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.6833, allocations: 38.5 kB / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.6833, allocations: 0 / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.001012/0.6843, allocations: 338.3 kB / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.6844, allocations: 55.34 kB / 0.9893 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.6845, allocations: 164.4 kB / 0.9895 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.6846, allocations: 25.7 kB / 0.9895 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.6847, allocations: 128.1 kB / 0.9896 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.6847, allocations: 51.2 kB / 0.9897 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.6847, allocations: 0 / 0.9897 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6848, allocations: 326.8 kB / 0.99 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.6852, allocations: 108.3 kB / 0.9901 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.6855, allocations: 118.6 kB / 0.9902 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.6858, allocations: 114.2 kB / 0.9903 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6858, allocations: 0 / 0.9903 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006864/0.6865, allocations: 269.5 kB / 0.9906 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.6865, allocations: 4 kB / 0.9906 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6865, allocations: 4 kB / 0.9906 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.6866, allocations: 0 / 0.9906 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.6869, allocations: 59.92 kB / 0.9906 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6869, allocations: 0 / 0.9906 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.6872, allocations: 31.81 kB / 0.9907 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.6872, allocations: 12 kB / 0.9907 GB, free: 12.03 MB / 0.7481 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.0001126/0.6873, allocations: 129.7 kB / 0.9908 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.6874, allocations: 15.81 kB / 0.9908 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.6881, allocations: 268.9 kB / 0.9911 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6881, allocations: 4 kB / 0.9911 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6882, allocations: 0 / 0.9911 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6882, allocations: 3.984 kB / 0.9911 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.6898, allocations: 1.074 MB / 0.9921 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.6898, allocations: 0 / 0.9921 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.6901, allocations: 43.97 kB / 0.9922 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6901, allocations: 4 kB / 0.9922 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6901, allocations: 0 / 0.9922 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6901, allocations: 12.05 kB / 0.9922 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6901, allocations: 0 / 0.9922 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006847/0.6908, allocations: 348.9 kB / 0.9925 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.6909, allocations: 100.9 kB / 0.9926 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.6909, allocations: 4 kB / 0.9926 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.6912, allocations: 27.97 kB / 0.9926 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.6913, allocations: 7.984 kB / 0.9926 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.6913, allocations: 11.98 kB / 0.9926 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.655e-05/0.6914, allocations: 117.1 kB / 0.9928 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6914, allocations: 4 kB / 0.9928 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004415/0.6918, allocations: 135.8 kB / 0.9929 GB, free: 9.539 MB / 0.7481 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.001278/0.6931, allocations: 1.015 MB / 0.9939 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006832/0.6938, allocations: 235.8 kB / 0.9941 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6938, allocations: 0 / 0.9941 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.6941, allocations: 108.1 kB / 0.9942 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.6945, allocations: 43.98 kB / 0.9943 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.6978, allocations: 1.284 MB / 0.9955 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.698, allocations: 0.7167 MB / 0.9962 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002021/0.6982, allocations: 37.47 kB / 0.9962 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.6984, allocations: 43.42 kB / 0.9963 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.6984, allocations: 0 / 0.9963 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.7153, allocations: 5.905 MB / 1.002 GB, free: 272 kB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.7155, allocations: 210.4 kB / 1.002 GB, free: 28 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.598, allocations: 4.062 kB / 1.002 GB, free: 24 kB / 0.7481 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) Environment - environmentSimulation: 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