Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006851/0.006851, allocations: 100.8 kB / 15.73 MB, free: 6.492 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.001763/0.001763, allocations: 193.1 kB / 16.68 MB, free: 6.371 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.792/2.792, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.84 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3056, allocations: 159.1 MB / 1.221 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003234/0.3088, allocations: 2.053 MB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.3111, allocations: 1.663 MB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.3112, allocations: 4 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.929e-05/0.3112, allocations: 19.8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.446e-05/0.3113, allocations: 51.55 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008575/0.3122, allocations: 358.8 kB / 1.225 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.3124, allocations: 223.1 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3125, allocations: 41.53 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.781e-05/0.3126, allocations: 87.77 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.3127, allocations: 91.67 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.3128, allocations: 16 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006738/0.3134, allocations: 419.5 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.3135, allocations: 35.91 kB / 1.226 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.3136, allocations: 95.64 kB / 1.226 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.3141, allocations: 446.5 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3141, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3141, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3141, allocations: 4 kB / 1.226 GB, free: 8.273 MB / 0.9825 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.0007993/0.3149, allocations: 0.5334 MB / 1.227 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3149, allocations: 8.031 kB / 1.227 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.316, allocations: 140.7 kB / 1.227 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3161, allocations: 180.2 kB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/0.3162, allocations: 50.25 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.3162, allocations: 16.38 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.3168, allocations: 218.1 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3168, allocations: 3.938 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.3168, allocations: 4 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3168, allocations: 4 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.3175, allocations: 245.1 kB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.3189, allocations: 0.9627 MB / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.3194, allocations: 174.5 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.3197, allocations: 104.8 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006362/0.3203, allocations: 0.5181 MB / 1.229 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3203, allocations: 34.56 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.3203, allocations: 0 / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.001104/0.3215, allocations: 327.6 kB / 1.229 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3215, allocations: 55.41 kB / 1.229 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3216, allocations: 169.1 kB / 1.23 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.3217, allocations: 29.7 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.3217, allocations: 120.3 kB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.3218, allocations: 55.48 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.3219, allocations: 41.7 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.322, allocations: 322.8 kB / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.3223, allocations: 107.9 kB / 1.23 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.3227, allocations: 119.2 kB / 1.23 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.3233, allocations: 199.6 kB / 1.231 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3233, allocations: 4 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007458/0.324, allocations: 275.3 kB / 1.231 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3241, allocations: 8 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3241, allocations: 0 / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3241, allocations: 0 / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.3244, allocations: 55.83 kB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3244, allocations: 0 / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.3247, allocations: 39.86 kB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.3247, allocations: 4 kB / 1.231 GB, free: 2.789 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.0001139/0.3248, allocations: 126.4 kB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.3249, allocations: 15.91 kB / 1.231 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007916/0.3257, allocations: 270.5 kB / 1.231 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3257, allocations: 7.938 kB / 1.231 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3257, allocations: 0 / 1.231 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3257, allocations: 0 / 1.231 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.3274, allocations: 1.081 MB / 1.232 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3274, allocations: 7.938 kB / 1.232 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.3277, allocations: 47.84 kB / 1.232 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3277, allocations: 4.062 kB / 1.232 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3277, allocations: 8 kB / 1.232 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3277, allocations: 0 / 1.232 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3277, allocations: 0 / 1.232 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.3284, allocations: 352.2 kB / 1.233 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.3285, allocations: 100.9 kB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3285, allocations: 4 kB / 1.233 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.3288, allocations: 23.97 kB / 1.233 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3289, allocations: 11.98 kB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3289, allocations: 7.984 kB / 1.233 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.747e-05/0.329, allocations: 121.1 kB / 1.233 GB, free: 428 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.329, allocations: 0 / 1.233 GB, free: 428 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000447/0.3294, allocations: 135.5 kB / 1.233 GB, free: 292 kB / 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.0003839/0.3298, allocations: 230.7 kB / 1.233 GB, free: 52 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007329/0.3305, allocations: 211.8 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3305, allocations: 4 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.3309, allocations: 112 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.3313, allocations: 47.84 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.3333, allocations: 472.3 kB / 1.234 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3336, allocations: 0.7164 MB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.3338, allocations: 29.53 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.3338, allocations: 23.44 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3338, allocations: 0 / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of Templates: time 0.00786/0.3417, allocations: 4.577 MB / 1.239 GB, free: 9.863 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches