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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 106.1 kB / 16.36 MB, free: 5.824 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.001545/0.001545, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 64.12 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2748, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003021/0.2778, allocations: 2.059 MB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002242/0.2801, allocations: 1.671 MB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.2802, allocations: 0 / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.901e-05/0.2803, allocations: 23.78 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2804, allocations: 47.55 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.2815, allocations: 358.8 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.2817, allocations: 231.1 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2819, allocations: 41.55 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.282, allocations: 87.77 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.2822, allocations: 91.67 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.2822, allocations: 20 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.283, allocations: 419.5 kB / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.283, allocations: 39.91 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.2832, allocations: 91.64 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.2837, allocations: 438.9 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2837, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.407e-06/0.2837, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.2838, allocations: 3.938 kB / 1.032 GB, free: 12.45 MB / 0.8106 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.0009147/0.2847, allocations: 0.5237 MB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2847, allocations: 8.031 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.2858, allocations: 136.7 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.286, allocations: 188.1 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.034e-05/0.2861, allocations: 54.25 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.2861, allocations: 12.38 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.2867, allocations: 221.8 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2867, allocations: 3.938 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.2867, allocations: 8 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.2867, allocations: 4 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.2874, allocations: 235.9 kB / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.2889, allocations: 0.9544 MB / 1.034 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.2894, allocations: 182.6 kB / 1.035 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.2898, allocations: 112.8 kB / 1.035 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00062/0.2904, allocations: 0.522 MB / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.2904, allocations: 34.5 kB / 1.035 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.2905, allocations: 4 kB / 1.035 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001112/0.2916, allocations: 332.4 kB / 1.036 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.2916, allocations: 55.41 kB / 1.036 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.2918, allocations: 166.3 kB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2918, allocations: 25.7 kB / 1.036 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.2919, allocations: 116.2 kB / 1.036 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.292, allocations: 55.2 kB / 1.036 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.292, allocations: 45.64 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2922, allocations: 318.8 kB / 1.036 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.2925, allocations: 107.9 kB / 1.036 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.2929, allocations: 129.6 kB / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.2935, allocations: 192.8 kB / 1.037 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2935, allocations: 4 kB / 1.037 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007785/0.2943, allocations: 273.3 kB / 1.037 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2944, allocations: 12.02 kB / 1.037 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2944, allocations: 0 / 1.037 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2944, allocations: 4 kB / 1.037 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.2948, allocations: 47.91 kB / 1.037 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2948, allocations: 0 / 1.037 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.2951, allocations: 39.81 kB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.2951, allocations: 7.938 kB / 1.037 GB, free: 6.957 MB / 0.8106 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.0001255/0.2952, allocations: 125.8 kB / 1.037 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.2953, allocations: 11.81 kB / 1.037 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008117/0.2961, allocations: 270.6 kB / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2961, allocations: 7.922 kB / 1.038 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2961, allocations: 4 kB / 1.038 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2961, allocations: 0 / 1.038 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.298, allocations: 1.066 MB / 1.039 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.298, allocations: 3.938 kB / 1.039 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.2983, allocations: 35.97 kB / 1.039 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.2983, allocations: 4 kB / 1.039 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.2983, allocations: 12.05 kB / 1.039 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.2984, allocations: 11.88 kB / 1.039 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2984, allocations: 3.984 kB / 1.039 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/0.2991, allocations: 337 kB / 1.039 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.2992, allocations: 100.8 kB / 1.039 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.2993, allocations: 8 kB / 1.039 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.2996, allocations: 19.97 kB / 1.039 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.2996, allocations: 15.98 kB / 1.039 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.2997, allocations: 4 kB / 1.039 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.388e-05/0.2997, allocations: 123.2 kB / 1.039 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2998, allocations: 7.938 kB / 1.039 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000504/0.3003, allocations: 127.9 kB / 1.039 GB, free: 4.461 MB / 0.8106 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.0004109/0.3007, allocations: 231 kB / 1.04 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007579/0.3014, allocations: 230.9 kB / 1.04 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3015, allocations: 4 kB / 1.04 GB, free: 4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.3018, allocations: 112.1 kB / 1.04 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.3022, allocations: 41.8 kB / 1.04 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.3043, allocations: 487.7 kB / 1.04 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3045, allocations: 0.7086 MB / 1.041 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.3047, allocations: 33.48 kB / 1.041 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.3048, allocations: 27.42 kB / 1.041 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.3048, allocations: 0 / 1.041 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of Templates: time 0.007868/0.3127, allocations: 4.537 MB / 1.046 GB, free: 14.06 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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