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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_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.006325/0.006325, allocations: 102.4 kB / 15.73 MB, free: 6.031 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.001456/0.001456, allocations: 198.1 kB / 16.67 MB, free: 5.969 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.352/1.352, 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.679/2.679, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2975, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003462/0.301, allocations: 2.039 MB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.3036, allocations: 1.663 MB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.3037, allocations: 4 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.635e-05/0.3039, allocations: 19.78 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.304, allocations: 51.55 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.3053, allocations: 354.8 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.3056, allocations: 231.1 kB / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.3058, allocations: 45.55 kB / 1.212 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.3059, allocations: 83.78 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.3061, allocations: 99.64 kB / 1.212 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.3061, allocations: 20 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009047/0.3071, allocations: 411.5 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.3071, allocations: 47.88 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.836e-05/0.3072, allocations: 87.66 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007687/0.308, allocations: 447.1 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.308, allocations: 0 / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.308, allocations: 0 / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.308, allocations: 0 / 1.213 GB, free: 4.531 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.0009661/0.309, allocations: 0.5225 MB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3091, allocations: 12.62 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.3091, allocations: 50.73 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.3103, allocations: 136.6 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.3104, allocations: 184.2 kB / 1.214 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.3106, allocations: 50.25 kB / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.3106, allocations: 12.38 kB / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.3112, allocations: 221.8 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3112, allocations: 0 / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.3113, allocations: 4 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3113, allocations: 4 kB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007486/0.312, allocations: 249.1 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.3136, allocations: 0.9662 MB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.3141, allocations: 182.6 kB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.3145, allocations: 104.8 kB / 1.215 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006552/0.3151, allocations: 0.5298 MB / 1.216 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.3152, allocations: 30.56 kB / 1.216 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.3152, allocations: 0 / 1.216 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.001174/0.3164, allocations: 335.9 kB / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3164, allocations: 55.34 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3166, allocations: 163 kB / 1.216 GB, free: 368 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3166, allocations: 29.7 kB / 1.216 GB, free: 332 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.3167, allocations: 120.2 kB / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.3168, allocations: 51.2 kB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.3169, allocations: 41.7 kB / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.317, allocations: 326.8 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.3174, allocations: 111.9 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.3177, allocations: 121.6 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.3184, allocations: 196.1 kB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3184, allocations: 0 / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008176/0.3192, allocations: 269.4 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3193, allocations: 4 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3193, allocations: 4 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3193, allocations: 3.938 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.3197, allocations: 55.94 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3197, allocations: 0 / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.32, allocations: 35.72 kB / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.32, allocations: 8 kB / 1.218 GB, free: 14.96 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.0001341/0.3202, allocations: 129.8 kB / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.3202, allocations: 15.89 kB / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008239/0.321, allocations: 258.7 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3211, allocations: 11.94 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3211, allocations: 0 / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3211, allocations: 0 / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.323, allocations: 1.074 MB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.323, allocations: 0 / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.3233, allocations: 47.91 kB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3233, allocations: 0 / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.3233, allocations: 3.984 kB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3233, allocations: 7.984 kB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3233, allocations: 0 / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.3241, allocations: 359.4 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.3242, allocations: 89 kB / 1.22 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.3242, allocations: 4 kB / 1.22 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.3246, allocations: 27.97 kB / 1.22 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.3246, allocations: 11.98 kB / 1.22 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3246, allocations: 4 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.496e-05/0.3247, allocations: 125 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.403e-06/0.3247, allocations: 0 / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000481/0.3252, allocations: 139.7 kB / 1.22 GB, free: 12.48 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.001469/0.3267, allocations: 0.9988 MB / 1.221 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007995/0.3275, allocations: 238 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3275, allocations: 0 / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.3279, allocations: 111.9 kB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.3284, allocations: 48.09 kB / 1.221 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.3334, allocations: 2.355 MB / 1.224 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3338, allocations: 0.7203 MB / 1.224 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001892/0.334, allocations: 29.7 kB / 1.224 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.3341, allocations: 43.42 kB / 1.224 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of SimCode: time 7.81e-07/0.3341, allocations: 4 kB / 1.224 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.3597, allocations: 6.429 MB / 1.231 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.931, allocations: 17.23 kB / 1.231 GB, free: 1.531 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > 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/jenkins1/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