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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001032/0.001032, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007221/0.007221, allocations: 170.6 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.831/2.831, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8.25 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2784, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002052/0.2804, allocations: 1.752 MB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.2828, allocations: 1.718 MB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.2828, allocations: 4 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.2829, allocations: 11.86 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.283, allocations: 47.61 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008532/0.2839, allocations: 291.2 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.2841, allocations: 223.1 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2842, allocations: 37.53 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.2844, allocations: 71.78 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.2845, allocations: 83.66 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.2845, allocations: 12 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007696/0.2853, allocations: 395.5 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.2854, allocations: 35.89 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.817e-05/0.2855, allocations: 105.4 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.2861, allocations: 431 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2861, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2861, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.2861, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 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.0007633/0.2869, allocations: 0.4914 MB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2869, allocations: 11.97 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.663e-05/0.287, allocations: 54.73 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.2882, allocations: 148.6 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2883, allocations: 184.1 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.2884, allocations: 50.25 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.2884, allocations: 24.31 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.289, allocations: 221.5 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.289, allocations: 4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.2891, allocations: 8 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2891, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007593/0.2898, allocations: 235.9 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.2913, allocations: 0.97 MB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.2917, allocations: 178.6 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.2921, allocations: 108.8 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006181/0.2927, allocations: 0.522 MB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2928, allocations: 34.56 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.2928, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001178/0.294, allocations: 347.9 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.294, allocations: 55.41 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.2941, allocations: 154.5 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.2942, allocations: 33.7 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.2943, allocations: 120.1 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.2943, allocations: 51.2 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.2944, allocations: 25.7 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2945, allocations: 322.8 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.2948, allocations: 107.9 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.2952, allocations: 127 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.2959, allocations: 200.1 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2959, allocations: 3.938 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000806/0.2967, allocations: 265.4 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2967, allocations: 8.031 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2967, allocations: 4 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2968, allocations: 3.938 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.2971, allocations: 59.83 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2972, allocations: 4 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.2975, allocations: 31.73 kB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.2975, allocations: 12 kB / 1.069 GB, free: 10.11 MB / 0.8262 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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.2976, allocations: 129.7 kB / 1.069 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.2977, allocations: 11.91 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008686/0.2985, allocations: 266.7 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.2986, allocations: 3.938 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2986, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2986, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3003, allocations: 1.077 MB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.3004, allocations: 11.88 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.3007, allocations: 43.95 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3007, allocations: 8 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3007, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3007, allocations: 4 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3007, allocations: 4 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.3016, allocations: 356.8 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.3016, allocations: 92.95 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.3017, allocations: 4 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.302, allocations: 27.97 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.3021, allocations: 7.984 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.3021, allocations: 15.98 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.687e-05/0.3022, allocations: 122.1 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3022, allocations: 0 / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004453/0.3026, allocations: 131.8 kB / 1.071 GB, free: 7.598 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/0.304, allocations: 1.012 MB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007673/0.3048, allocations: 237.6 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3048, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.3052, allocations: 116.1 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3056, allocations: 35.98 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.3107, allocations: 2.435 MB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3109, allocations: 0.7205 MB / 1.076 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.3111, allocations: 33.69 kB / 1.076 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.3113, allocations: 47.42 kB / 1.076 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.3113, allocations: 3.938 kB / 1.076 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.3279, allocations: 5.975 MB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.3282, allocations: 231.6 kB / 1.082 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.267, allocations: 0 / 1.082 GB, free: 12.78 MB / 0.8419 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/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) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches