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.00688/0.00688, allocations: 102 kB / 15.73 MB, free: 6.488 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.001617/0.001617, allocations: 193.9 kB / 16.67 MB, free: 6.379 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.352/2.352, allocations: 390.2 MB / 0.6648 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 66.17 kB / 0.9508 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2752, allocations: 140.4 MB / 1.088 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003147/0.2784, allocations: 2.036 MB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.2808, allocations: 1.667 MB / 1.092 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.2809, allocations: 4 kB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.168e-05/0.281, allocations: 23.72 kB / 1.092 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2811, allocations: 55.55 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2823, allocations: 354.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.2825, allocations: 227.2 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2827, allocations: 53.47 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2829, allocations: 87.7 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.283, allocations: 95.66 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.2831, allocations: 20 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007846/0.2839, allocations: 411.5 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.2839, allocations: 43.91 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.284, allocations: 95.62 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.2846, allocations: 438.9 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.2846, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2847, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.2847, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 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.0009291/0.2856, allocations: 0.5264 MB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2856, allocations: 8.031 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.2867, allocations: 132.7 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2868, allocations: 184.2 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.2869, allocations: 54 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.287, allocations: 16.31 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.2875, allocations: 217.8 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2876, allocations: 11.92 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.2876, allocations: 4 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2876, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006969/0.2883, allocations: 231.9 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.2898, allocations: 0.9585 MB / 1.096 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.2903, allocations: 182.6 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.2906, allocations: 108.8 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006592/0.2913, allocations: 0.522 MB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.2913, allocations: 30.56 kB / 1.096 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.2913, allocations: 0 / 1.096 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.001126/0.2924, allocations: 341.5 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.2925, allocations: 51.41 kB / 1.097 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.2927, allocations: 159.3 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.2927, allocations: 29.7 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.2928, allocations: 116.2 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.2929, allocations: 59.12 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.293, allocations: 45.7 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2931, allocations: 322.8 kB / 1.098 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.2934, allocations: 107.8 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.2938, allocations: 127 kB / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.2944, allocations: 200.2 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2944, allocations: 8 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007603/0.2952, allocations: 265.4 kB / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2952, allocations: 5.406 kB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2952, allocations: 7.938 kB / 1.098 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2952, allocations: 0 / 1.098 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.2956, allocations: 55.91 kB / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2956, allocations: 0 / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.2959, allocations: 35.75 kB / 1.098 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.2959, allocations: 8 kB / 1.098 GB, free: 6.488 MB / 0.8575 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.0001127/0.2961, allocations: 125.8 kB / 1.098 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.2961, allocations: 15.81 kB / 1.098 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007948/0.2969, allocations: 265.2 kB / 1.099 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2969, allocations: 7.938 kB / 1.099 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2969, allocations: 0 / 1.099 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2969, allocations: 0 / 1.099 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.2987, allocations: 1.07 MB / 1.1 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2987, allocations: 3.938 kB / 1.1 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.299, allocations: 48.03 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.2991, allocations: 0 / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.2991, allocations: 7.984 kB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2991, allocations: 0 / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2991, allocations: 3.984 kB / 1.1 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007633/0.2999, allocations: 352.9 kB / 1.1 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.2999, allocations: 92.94 kB / 1.1 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.3, allocations: 4 kB / 1.1 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.3003, allocations: 23.97 kB / 1.1 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.3003, allocations: 19.97 kB / 1.1 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3004, allocations: 4 kB / 1.1 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.59e-05/0.3005, allocations: 120.7 kB / 1.1 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.573e-06/0.3005, allocations: 0 / 1.1 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004605/0.3009, allocations: 135.8 kB / 1.101 GB, free: 4 MB / 0.8575 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.0004624/0.3014, allocations: 231 kB / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007607/0.3022, allocations: 231.1 kB / 1.101 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3022, allocations: 0 / 1.101 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.3025, allocations: 111.9 kB / 1.101 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.3029, allocations: 51.98 kB / 1.101 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3049, allocations: 484.2 kB / 1.102 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3052, allocations: 0.7086 MB / 1.102 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.3054, allocations: 29.48 kB / 1.102 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.3055, allocations: 23.42 kB / 1.102 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3055, allocations: 0 / 1.102 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.008292/0.3138, allocations: 4.614 MB / 1.107 GB, free: 13.52 MB / 0.8731 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/jenkins/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