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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005431/0.005431, allocations: 100.2 kB / 15.73 MB, free: 6.043 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.001301/0.001301, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003043/0.2829, allocations: 2.041 MB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002229/0.2851, allocations: 1.659 MB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.2852, allocations: 4 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.291e-05/0.2853, allocations: 19.78 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.696e-05/0.2854, allocations: 43.56 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.2863, allocations: 366.8 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.2866, allocations: 231.1 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.2867, allocations: 53.52 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.2868, allocations: 79.78 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.287, allocations: 95.67 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.287, allocations: 20 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007114/0.2877, allocations: 415.5 kB / 1.213 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.2878, allocations: 35.91 kB / 1.213 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.112e-05/0.2879, allocations: 91.64 kB / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005215/0.2884, allocations: 450.8 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2884, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2884, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2884, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 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.0008268/0.2893, allocations: 0.5187 MB / 1.214 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2893, allocations: 16.5 kB / 1.214 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.2904, allocations: 136.6 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2906, allocations: 184.1 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.2907, allocations: 50.25 kB / 1.214 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.2907, allocations: 12.38 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/0.2913, allocations: 218.1 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2913, allocations: 3.938 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.2914, allocations: 8 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2914, allocations: 4 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.2921, allocations: 237.2 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.2937, allocations: 0.974 MB / 1.215 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.2942, allocations: 174.6 kB / 1.216 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.2946, allocations: 112.7 kB / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/0.2953, allocations: 0.522 MB / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2954, allocations: 38.55 kB / 1.216 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.2954, allocations: 0 / 1.216 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.001231/0.2966, allocations: 332.2 kB / 1.217 GB, free: 208 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2967, allocations: 51.41 kB / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.2968, allocations: 159.1 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.2969, allocations: 37.64 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.297, allocations: 116.2 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.297, allocations: 55.19 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2971, allocations: 41.7 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2973, allocations: 326.8 kB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.2976, allocations: 107.8 kB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.298, allocations: 128.1 kB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/0.2987, allocations: 191.7 kB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2987, allocations: 3.938 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008306/0.2996, allocations: 265.4 kB / 1.218 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2996, allocations: 4 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2996, allocations: 4 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2996, allocations: 4.031 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.3, allocations: 55.89 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3, allocations: 3.938 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.3003, allocations: 39.72 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3003, allocations: 15.98 kB / 1.218 GB, free: 14.56 MB / 0.9825 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.0001109/0.3005, allocations: 121.8 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.3005, allocations: 11.91 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000863/0.3014, allocations: 270.5 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.3014, allocations: 7.938 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3014, allocations: 0 / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3014, allocations: 3.984 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.3034, allocations: 1.07 MB / 1.22 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3034, allocations: 3.938 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.3037, allocations: 47.91 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3038, allocations: 0 / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3038, allocations: 0 / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.3038, allocations: 7.984 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3038, allocations: 4.062 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.3046, allocations: 347.3 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.3047, allocations: 88.95 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.3048, allocations: 7.984 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.3051, allocations: 27.98 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.3052, allocations: 15.91 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3052, allocations: 4 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3053, allocations: 121.1 kB / 1.22 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3053, allocations: 0 / 1.22 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005154/0.3058, allocations: 135.8 kB / 1.22 GB, free: 12.09 MB / 0.9825 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.0004803/0.3063, allocations: 227 kB / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007785/0.3071, allocations: 234.8 kB / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3071, allocations: 0 / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.3075, allocations: 116.1 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3079, allocations: 51.72 kB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.3101, allocations: 472.5 kB / 1.221 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3104, allocations: 0.7086 MB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.3106, allocations: 33.48 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.3107, allocations: 27.36 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3107, allocations: 0 / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.008625/0.3193, allocations: 4.617 MB / 1.227 GB, free: 5.605 MB / 0.9825 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