Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: 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_10_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_10_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.001459/0.001459, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.001591/0.001591, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.616/1.616, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437.1 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 60.09 kB / 0.8707 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2671, allocations: 151.6 MB / 1.019 GB, free: 9.922 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003311/0.2704, allocations: 2.05 MB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.2727, allocations: 1.664 MB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.2728, allocations: 0 / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.926e-05/0.2729, allocations: 19.8 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.273, allocations: 51.55 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008666/0.2739, allocations: 354.8 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.2741, allocations: 227.2 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.2742, allocations: 61.42 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.2743, allocations: 87.7 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2745, allocations: 95.66 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.2745, allocations: 16 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006998/0.2752, allocations: 415.5 kB / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.2753, allocations: 43.89 kB / 1.024 GB, free: 4.832 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.229e-05/0.2754, allocations: 91.59 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.2759, allocations: 438.9 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2759, allocations: 0 / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2759, allocations: 0 / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2759, allocations: 0 / 1.024 GB, free: 4.312 MB / 0.795 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.0007622/0.2767, allocations: 0.5148 MB / 1.025 GB, free: 3.746 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2767, allocations: 8.031 kB / 1.025 GB, free: 3.738 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.2778, allocations: 140.6 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2779, allocations: 184.1 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/0.278, allocations: 58.25 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.278, allocations: 12.38 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.2785, allocations: 215.4 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2785, allocations: 7.938 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.2786, allocations: 8 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2786, allocations: 8 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006984/0.2793, allocations: 235.8 kB / 1.026 GB, free: 2.84 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2806, allocations: 0.9583 MB / 1.027 GB, free: 1.758 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.2811, allocations: 190.5 kB / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.2814, allocations: 112.8 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/0.282, allocations: 0.5259 MB / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2821, allocations: 34.5 kB / 1.027 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.624e-06/0.2821, allocations: 0 / 1.027 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.001103/0.2832, allocations: 339.2 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.2832, allocations: 51.41 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2834, allocations: 158.5 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2834, allocations: 29.64 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.2835, allocations: 120.2 kB / 1.028 GB, free: 48 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.2835, allocations: 59.34 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.2836, allocations: 41.7 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.2837, allocations: 326.8 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.2841, allocations: 103.9 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.2844, allocations: 119.5 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006044/0.285, allocations: 195.3 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.285, allocations: 4 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007419/0.2858, allocations: 276.2 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2858, allocations: 4 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2858, allocations: 0 / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2858, allocations: 4 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.2862, allocations: 55.83 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2862, allocations: 4 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.2865, allocations: 31.83 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.2865, allocations: 7.984 kB / 1.029 GB, free: 14.81 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.0001044/0.2866, allocations: 129.8 kB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.2867, allocations: 15.81 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008038/0.2875, allocations: 262.7 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.2875, allocations: 7.938 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2875, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2875, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.2892, allocations: 1.071 MB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2892, allocations: 7.922 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.2896, allocations: 40.03 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2896, allocations: 4 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.2896, allocations: 4 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.2896, allocations: 11.94 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2896, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.2904, allocations: 355.3 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.2904, allocations: 92.86 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.2905, allocations: 4 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.2908, allocations: 19.97 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.2908, allocations: 19.98 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.2909, allocations: 4 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.291, allocations: 121.7 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.291, allocations: 0 / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004492/0.2914, allocations: 127.9 kB / 1.031 GB, free: 12.33 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.0003947/0.2918, allocations: 231 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000736/0.2926, allocations: 231.8 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2926, allocations: 0 / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.2929, allocations: 119.4 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.2934, allocations: 43.91 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.2955, allocations: 484.2 kB / 1.032 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.2957, allocations: 0.7125 MB / 1.033 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.2959, allocations: 33.53 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.296, allocations: 23.44 kB / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of SimCode: time 1.703e-06/0.296, allocations: 0 / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.008232/0.3043, allocations: 4.525 MB / 1.038 GB, free: 5.926 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches