Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,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_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.001292/0.001292, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.47 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003353/0.3252, allocations: 2.055 MB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.3277, allocations: 1.671 MB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.3278, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.692e-05/0.3279, allocations: 19.8 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.328, allocations: 47.55 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3291, allocations: 354.8 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.3294, allocations: 239 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3295, allocations: 45.55 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3296, allocations: 83.81 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.3298, allocations: 91.67 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.3299, allocations: 16 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007989/0.3307, allocations: 419.5 kB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.3307, allocations: 47.83 kB / 1.032 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.3308, allocations: 87.66 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006022/0.3314, allocations: 442.9 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3315, allocations: 0 / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3315, allocations: 0 / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.3315, allocations: 3.938 kB / 1.032 GB, free: 12.47 MB / 0.8106 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.0008594/0.3323, allocations: 0.5264 MB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3324, allocations: 8.031 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.3335, allocations: 132.7 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3336, allocations: 184.1 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.3337, allocations: 50.27 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.3338, allocations: 16.36 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.3343, allocations: 217.8 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3344, allocations: 7.938 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.3344, allocations: 4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3344, allocations: 4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.3352, allocations: 239.8 kB / 1.034 GB, free: 11 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.3366, allocations: 0.9584 MB / 1.034 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.3371, allocations: 190.5 kB / 1.035 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.3375, allocations: 104.8 kB / 1.035 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006596/0.3382, allocations: 0.522 MB / 1.035 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3382, allocations: 34.55 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.3382, allocations: 0 / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001136/0.3393, allocations: 336.8 kB / 1.036 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3394, allocations: 55.34 kB / 1.036 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3395, allocations: 159.5 kB / 1.036 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.3396, allocations: 25.7 kB / 1.036 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.3396, allocations: 124.2 kB / 1.036 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.3397, allocations: 51.2 kB / 1.036 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.3398, allocations: 45.69 kB / 1.036 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3399, allocations: 322.8 kB / 1.036 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.3402, allocations: 107.9 kB / 1.036 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.3406, allocations: 114.8 kB / 1.037 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.3412, allocations: 195.5 kB / 1.037 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3412, allocations: 4 kB / 1.037 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007866/0.342, allocations: 278.6 kB / 1.037 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3421, allocations: 4 kB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3421, allocations: 0 / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3421, allocations: 4 kB / 1.037 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.3425, allocations: 59.86 kB / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3425, allocations: 0 / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.3428, allocations: 31.83 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3429, allocations: 4 kB / 1.037 GB, free: 6.988 MB / 0.8106 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.0001232/0.343, allocations: 141.7 kB / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.3431, allocations: 15.81 kB / 1.037 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/0.3439, allocations: 266.2 kB / 1.038 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3439, allocations: 11.94 kB / 1.038 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3439, allocations: 0 / 1.038 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3439, allocations: 0 / 1.038 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.3457, allocations: 1.07 MB / 1.039 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3457, allocations: 3.938 kB / 1.039 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.3461, allocations: 47.83 kB / 1.039 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.3461, allocations: 4 kB / 1.039 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.3461, allocations: 4 kB / 1.039 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3461, allocations: 4 kB / 1.039 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3461, allocations: 64 / 1.039 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/0.3469, allocations: 352.9 kB / 1.039 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.347, allocations: 96.84 kB / 1.039 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.347, allocations: 4 kB / 1.039 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.3474, allocations: 27.97 kB / 1.039 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3474, allocations: 11.98 kB / 1.039 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.3474, allocations: 4 kB / 1.039 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001034/0.3475, allocations: 122.5 kB / 1.039 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3476, allocations: 0 / 1.039 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004657/0.348, allocations: 127.9 kB / 1.039 GB, free: 4.484 MB / 0.8106 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.0004463/0.3485, allocations: 227 kB / 1.04 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007739/0.3493, allocations: 235.8 kB / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3493, allocations: 0 / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.3496, allocations: 112 kB / 1.04 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.3501, allocations: 51.91 kB / 1.04 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3516, allocations: 435.2 kB / 1.04 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3519, allocations: 0.7164 MB / 1.041 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001703/0.3521, allocations: 36.98 kB / 1.041 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.161e-05/0.3522, allocations: 19.44 kB / 1.041 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3522, allocations: 0 / 1.041 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of Templates: time 0.008338/0.3605, allocations: 4.533 MB / 1.046 GB, free: 14.14 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches