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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: 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_9_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_9_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.001536/0.001536, allocations: 102.6 kB / 16.27 MB, free: 5.863 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.002029/0.002029, allocations: 188.9 kB / 17.2 MB, free: 5.512 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.2 MB / 0.6653 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 62.72 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2815, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003236/0.2848, allocations: 2.039 MB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.2871, allocations: 1.664 MB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.2872, allocations: 0 / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.496e-05/0.2873, allocations: 27.72 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.2875, allocations: 43.56 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2885, allocations: 370.7 kB / 0.9543 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.2888, allocations: 223.1 kB / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.2889, allocations: 65.28 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.289, allocations: 79.78 kB / 0.9546 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2892, allocations: 91.72 kB / 0.9547 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.2892, allocations: 20 kB / 0.9548 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007657/0.29, allocations: 403.5 kB / 0.9551 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.2901, allocations: 47.89 kB / 0.9552 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.654e-05/0.2902, allocations: 83.66 kB / 0.9553 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005709/0.2907, allocations: 439.2 kB / 0.9557 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2907, allocations: 0 / 0.9557 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2908, allocations: 4 kB / 0.9557 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2908, allocations: 0 / 0.9557 GB, free: 3.262 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.0008479/0.2916, allocations: 0.5148 MB / 0.9562 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2917, allocations: 12.02 kB / 0.9562 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.2928, allocations: 136.6 kB / 0.9563 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.293, allocations: 188.1 kB / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/0.293, allocations: 54.19 kB / 0.9566 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.2931, allocations: 16.38 kB / 0.9566 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.2936, allocations: 213.9 kB / 0.9568 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2937, allocations: 3.938 kB / 0.9568 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.2937, allocations: 4 kB / 0.9568 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2937, allocations: 8 kB / 0.9568 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000709/0.2944, allocations: 239.6 kB / 0.957 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.2959, allocations: 0.9664 MB / 0.958 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.2963, allocations: 178.6 kB / 0.9581 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.2967, allocations: 116.8 kB / 0.9583 GB, free: 404 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/0.2973, allocations: 0.5181 MB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.2974, allocations: 34.56 kB / 0.9588 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.2974, allocations: 0 / 0.9588 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.001143/0.2985, allocations: 335.8 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.2986, allocations: 55.41 kB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2987, allocations: 157.3 kB / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.2988, allocations: 29.7 kB / 0.9593 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.2988, allocations: 116.2 kB / 0.9595 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.2989, allocations: 63.17 kB / 0.9595 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.299, allocations: 45.64 kB / 0.9596 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2991, allocations: 322.8 kB / 0.9599 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.2994, allocations: 103.9 kB / 0.96 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.2998, allocations: 118.8 kB / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.3005, allocations: 203.8 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3005, allocations: 4 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007677/0.3013, allocations: 275.4 kB / 0.9605 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3013, allocations: 8 kB / 0.9605 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3013, allocations: 0 / 0.9605 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.3013, allocations: 0 / 0.9605 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.3017, allocations: 55.89 kB / 0.9606 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3017, allocations: 7.984 kB / 0.9606 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.302, allocations: 27.83 kB / 0.9606 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.302, allocations: 7.984 kB / 0.9606 GB, free: 13.76 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 (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.0001072/0.3021, allocations: 131.8 kB / 0.9608 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.3022, allocations: 23.8 kB / 0.9608 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/0.303, allocations: 266.6 kB / 0.961 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.303, allocations: 3.938 kB / 0.961 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.303, allocations: 0 / 0.961 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.303, allocations: 3.938 kB / 0.9611 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.3048, allocations: 1.073 MB / 0.9621 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.3048, allocations: 7.922 kB / 0.9621 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.3051, allocations: 44.03 kB / 0.9621 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3051, allocations: 0 / 0.9621 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.3052, allocations: 8 kB / 0.9622 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3052, allocations: 0 / 0.9622 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3052, allocations: 0 / 0.9622 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/0.3059, allocations: 355.9 kB / 0.9625 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.306, allocations: 92.86 kB / 0.9626 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.306, allocations: 4 kB / 0.9626 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.3064, allocations: 27.97 kB / 0.9626 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.3064, allocations: 7.984 kB / 0.9626 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.3064, allocations: 12 kB / 0.9626 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.205e-05/0.3065, allocations: 121.1 kB / 0.9628 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3065, allocations: 0 / 0.9628 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004525/0.307, allocations: 131.9 kB / 0.9629 GB, free: 11.28 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 (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.0004039/0.3074, allocations: 227 kB / 0.9631 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008063/0.3082, allocations: 239.8 kB / 0.9633 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3082, allocations: 0 / 0.9633 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.3086, allocations: 115.9 kB / 0.9634 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.309, allocations: 53 kB / 0.9635 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.3111, allocations: 0.4941 MB / 0.964 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.3114, allocations: 0.7241 MB / 0.9647 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3115, allocations: 23.42 kB / 0.9647 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.3115, allocations: 0 / 0.9647 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of Templates: time 0.005833/0.3173, allocations: 4.136 MB / 0.9687 GB, free: 5.215 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches