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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001337/0.001337, allocations: 195.9 kB / 16.26 MB, free: 6.621 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.256/1.256, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.548/2.548, allocations: 469.8 MB / 0.7421 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 72.17 kB / 0.9082 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2536, allocations: 159.2 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002983/0.2566, allocations: 2.108 MB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.2588, allocations: 1.655 MB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.2589, allocations: 3.938 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.828e-05/0.259, allocations: 15.91 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.842e-05/0.259, allocations: 39.62 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.2598, allocations: 324.1 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.2601, allocations: 231.1 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2602, allocations: 49.52 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.2603, allocations: 79.78 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.2604, allocations: 95.66 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.2605, allocations: 24 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006664/0.2611, allocations: 411.4 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.2612, allocations: 43.89 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.526e-05/0.2613, allocations: 91.64 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.2618, allocations: 439.2 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.2618, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2618, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2618, allocations: 0 / 1.069 GB, free: 8.895 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.0008174/0.2626, allocations: 0.5303 MB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2627, allocations: 8.031 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.2628, allocations: 54.73 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.2638, allocations: 132.6 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2639, allocations: 180.2 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.264, allocations: 54.25 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.264, allocations: 12.38 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.2646, allocations: 221.5 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2646, allocations: 0 / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.2646, allocations: 11.98 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2646, allocations: 4 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.2653, allocations: 231.9 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.2667, allocations: 0.9624 MB / 1.071 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.2671, allocations: 191.2 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.2675, allocations: 112.8 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/0.2681, allocations: 0.522 MB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2682, allocations: 30.56 kB / 1.072 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.2682, allocations: 0 / 1.072 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.00107/0.2692, allocations: 339.1 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.2693, allocations: 51.41 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2694, allocations: 161.3 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.2695, allocations: 29.7 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.2696, allocations: 120.1 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.2696, allocations: 59.17 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.2697, allocations: 41.7 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2698, allocations: 330.8 kB / 1.073 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.2702, allocations: 99.94 kB / 1.073 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.2705, allocations: 119.5 kB / 1.073 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.2712, allocations: 202.3 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2712, allocations: 0 / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007428/0.2719, allocations: 270.5 kB / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2719, allocations: 11.94 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.272, allocations: 0 / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.272, allocations: 3.938 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.2723, allocations: 51.89 kB / 1.074 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2723, allocations: 0 / 1.074 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.2726, allocations: 39.81 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.2726, allocations: 4 kB / 1.074 GB, free: 3.336 MB / 0.8262 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.0001212/0.2728, allocations: 133.7 kB / 1.074 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.2728, allocations: 15.81 kB / 1.074 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/0.2736, allocations: 260.5 kB / 1.074 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2736, allocations: 7.938 kB / 1.074 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2736, allocations: 0 / 1.074 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2736, allocations: 0 / 1.074 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.2753, allocations: 1.083 MB / 1.075 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2754, allocations: 0 / 1.075 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.2757, allocations: 44.03 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2757, allocations: 0 / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2757, allocations: 8 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2757, allocations: 0 / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2757, allocations: 0 / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/0.2765, allocations: 360.8 kB / 1.076 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.2765, allocations: 85.02 kB / 1.076 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.2766, allocations: 4 kB / 1.076 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.2769, allocations: 27.97 kB / 1.076 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.2769, allocations: 11.98 kB / 1.076 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.2769, allocations: 11.98 kB / 1.076 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.4e-05/0.277, allocations: 115.3 kB / 1.076 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.277, allocations: 0 / 1.076 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004127/0.2775, allocations: 131.8 kB / 1.076 GB, free: 0.8516 MB / 0.8262 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.001329/0.2788, allocations: 1.008 MB / 1.077 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007237/0.2795, allocations: 245 kB / 1.077 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2795, allocations: 3.938 kB / 1.077 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.2799, allocations: 116.1 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.2803, allocations: 43.95 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.2849, allocations: 2.411 MB / 1.08 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.2852, allocations: 0.7047 MB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.2854, allocations: 35.14 kB / 1.081 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2855, allocations: 51.28 kB / 1.081 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2856, allocations: 0 / 1.081 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.011/4.296, allocations: 6.2 MB / 1.087 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/4.297, allocations: 219.9 kB / 1.087 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/11.88, allocations: 5.969 kB / 1.087 GB, free: 5.82 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > 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/jenkins1/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