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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001661/0.001661, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001805/0.001805, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.83 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2819, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003553/0.2855, allocations: 2.042 MB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.288, allocations: 1.667 MB / 0.9547 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.2881, allocations: 0 / 0.9547 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.94e-05/0.2882, allocations: 19.8 kB / 0.9548 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.2883, allocations: 47.55 kB / 0.9548 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2894, allocations: 366.8 kB / 0.9552 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.2896, allocations: 227.2 kB / 0.9554 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2898, allocations: 53.5 kB / 0.9554 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2899, allocations: 87.7 kB / 0.9555 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.2901, allocations: 95.66 kB / 0.9556 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.2901, allocations: 24 kB / 0.9556 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.2908, allocations: 415.5 kB / 0.956 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.2909, allocations: 35.91 kB / 0.9561 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.92e-05/0.291, allocations: 91.64 kB / 0.9561 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.2916, allocations: 442.9 kB / 0.9566 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2916, allocations: 0 / 0.9566 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2916, allocations: 0 / 0.9566 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2916, allocations: 0 / 0.9566 GB, free: 2.461 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.000872/0.2925, allocations: 0.5225 MB / 0.9571 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2926, allocations: 12.02 kB / 0.9571 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.2937, allocations: 132.6 kB / 0.9572 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2938, allocations: 184.1 kB / 0.9574 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.63e-05/0.2939, allocations: 54.25 kB / 0.9574 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.2939, allocations: 16.31 kB / 0.9575 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.2945, allocations: 217.6 kB / 0.9577 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2945, allocations: 7.938 kB / 0.9577 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.2946, allocations: 12 kB / 0.9577 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2946, allocations: 4 kB / 0.9577 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007249/0.2953, allocations: 231.8 kB / 0.9579 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.2968, allocations: 0.9664 MB / 0.9589 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.2972, allocations: 182.6 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.2976, allocations: 118.2 kB / 0.9591 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/0.2983, allocations: 0.5181 MB / 0.9596 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.2983, allocations: 34.56 kB / 0.9597 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.2983, allocations: 0 / 0.9597 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.001163/0.2995, allocations: 329.5 kB / 0.96 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.2996, allocations: 59.41 kB / 0.9601 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2997, allocations: 156.1 kB / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2998, allocations: 33.7 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.2998, allocations: 112.2 kB / 0.9603 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.2999, allocations: 63.17 kB / 0.9604 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.3, allocations: 41.7 kB / 0.9604 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3001, allocations: 322.8 kB / 0.9607 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.3004, allocations: 103.9 kB / 0.9608 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.3008, allocations: 129.6 kB / 0.961 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/0.3015, allocations: 196 kB / 0.9612 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3015, allocations: 0 / 0.9612 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007841/0.3023, allocations: 271 kB / 0.9614 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3023, allocations: 4 kB / 0.9614 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3023, allocations: 3.969 kB / 0.9614 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3023, allocations: 8 kB / 0.9614 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.3027, allocations: 55.89 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3027, allocations: 0 / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.303, allocations: 35.83 kB / 0.9615 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.303, allocations: 7.984 kB / 0.9615 GB, free: 12.96 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.0001185/0.3032, allocations: 129.3 kB / 0.9616 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.3032, allocations: 15.75 kB / 0.9617 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000829/0.304, allocations: 269.3 kB / 0.9619 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3041, allocations: 3.938 kB / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3041, allocations: 4 kB / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3041, allocations: 0 / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.3059, allocations: 1.066 MB / 0.963 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3059, allocations: 7.922 kB / 0.963 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.3062, allocations: 39.97 kB / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.3062, allocations: 4 kB / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3063, allocations: 0 / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.3063, allocations: 12.06 kB / 0.963 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3063, allocations: 0 / 0.963 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.3071, allocations: 348.9 kB / 0.9634 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.3071, allocations: 100.9 kB / 0.9635 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.3072, allocations: 0 / 0.9635 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.3075, allocations: 27.97 kB / 0.9635 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3076, allocations: 11.98 kB / 0.9635 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3076, allocations: 4 kB / 0.9635 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.768e-05/0.3077, allocations: 126.2 kB / 0.9636 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3077, allocations: 0 / 0.9636 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004748/0.3082, allocations: 131.9 kB / 0.9637 GB, free: 10.48 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.0004265/0.3086, allocations: 234.9 kB / 0.964 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007673/0.3094, allocations: 227.8 kB / 0.9642 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3094, allocations: 4 kB / 0.9642 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.3098, allocations: 112.1 kB / 0.9643 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.3102, allocations: 43.91 kB / 0.9643 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.3122, allocations: 476.3 kB / 0.9648 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.3125, allocations: 0.7163 MB / 0.9655 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.3127, allocations: 48.78 kB / 0.9655 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.3128, allocations: 19.44 kB / 0.9656 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.3128, allocations: 0 / 0.9656 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of Templates: time 0.008436/0.3212, allocations: 4.524 MB / 0.97 GB, free: 4.074 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 -s cvode -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