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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.002037/0.002037, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002516/0.002516, allocations: 197.2 kB / 16.53 MB, free: 6.617 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.142/3.142, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 60.91 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2704, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003136/0.2736, allocations: 2.036 MB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.276, allocations: 1.672 MB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.276, allocations: 4 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.446e-05/0.2761, allocations: 23.8 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2762, allocations: 51.55 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009139/0.2772, allocations: 358.8 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.2774, allocations: 227.1 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.2775, allocations: 61.3 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2777, allocations: 79.78 kB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.2778, allocations: 95.66 kB / 1.073 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.2779, allocations: 20 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007598/0.2786, allocations: 403.5 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.2787, allocations: 39.91 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/0.2788, allocations: 91.64 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.2793, allocations: 439.2 kB / 1.074 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2793, allocations: 0 / 1.074 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2793, allocations: 0 / 1.074 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2794, allocations: 4 kB / 1.074 GB, free: 4.859 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.0008816/0.2802, allocations: 0.5109 MB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.2803, allocations: 11.97 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.2815, allocations: 140.6 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.2816, allocations: 184.1 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.321e-05/0.2817, allocations: 50.25 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.2817, allocations: 20.31 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.2823, allocations: 215.7 kB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2823, allocations: 3.938 kB / 1.075 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.2824, allocations: 4 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2824, allocations: 4 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000761/0.2831, allocations: 239.8 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.2846, allocations: 0.9737 MB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.2851, allocations: 182.6 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.2855, allocations: 116.8 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000726/0.2863, allocations: 0.5181 MB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.2863, allocations: 38.5 kB / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2863, allocations: 0 / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001226/0.2875, allocations: 323.8 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2876, allocations: 55.41 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.2878, allocations: 160.1 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.2878, allocations: 33.7 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2879, allocations: 116.1 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.288, allocations: 59.27 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.942e-05/0.2881, allocations: 45.61 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2882, allocations: 322.8 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.2886, allocations: 103.9 kB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.289, allocations: 126.9 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.2897, allocations: 198.3 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2897, allocations: 0 / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008294/0.2906, allocations: 269.4 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2906, allocations: 4 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2906, allocations: 4.031 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2906, allocations: 7.938 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.291, allocations: 55.89 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.291, allocations: 0 / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.2913, allocations: 35.73 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.2913, allocations: 15.98 kB / 1.079 GB, free: 15.35 MB / 0.8419 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.0001292/0.2915, allocations: 121.8 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.2915, allocations: 11.91 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/0.2924, allocations: 270.6 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2925, allocations: 3.938 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2925, allocations: 3.938 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2925, allocations: 4 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.2944, allocations: 1.069 MB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2944, allocations: 3.938 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.2947, allocations: 43.95 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.2947, allocations: 4 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.2948, allocations: 0 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2948, allocations: 4.062 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2948, allocations: 7.938 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/0.2956, allocations: 344.9 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.2957, allocations: 88.95 kB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.2958, allocations: 12 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.2961, allocations: 23.97 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.2962, allocations: 11.98 kB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.2962, allocations: 4 kB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.771e-05/0.2963, allocations: 117.7 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2963, allocations: 4 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005015/0.2968, allocations: 135.9 kB / 1.081 GB, free: 12.88 MB / 0.8419 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.0004654/0.2973, allocations: 239.4 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008241/0.2981, allocations: 233.8 kB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2981, allocations: 0 / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.2985, allocations: 116 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.299, allocations: 47.89 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.3013, allocations: 476.4 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3016, allocations: 0.7164 MB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002177/0.3018, allocations: 33.48 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.3019, allocations: 23.44 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of SimCode: time 8.91e-07/0.3019, allocations: 0 / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.008267/0.3102, allocations: 4.541 MB / 1.087 GB, free: 6.461 MB / 0.8419 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 -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/jenkins/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