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.004995/0.004995, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001415/0.001415, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.367/2.367, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 67.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6076/0.6093, allocations: 159.1 MB / 1.22 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002774/0.6121, allocations: 2.041 MB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.6143, allocations: 1.67 MB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.6143, allocations: 4 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.486e-05/0.6144, allocations: 19.78 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.25e-05/0.6145, allocations: 51.55 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.6153, allocations: 358.8 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.6155, allocations: 227.1 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.6157, allocations: 49.53 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.6158, allocations: 83.78 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.6159, allocations: 95.64 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.6159, allocations: 20 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006901/0.6166, allocations: 411.5 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.6167, allocations: 43.89 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.6168, allocations: 91.64 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005344/0.6173, allocations: 446.2 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.664e-06/0.6173, allocations: 0 / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.816e-06/0.6173, allocations: 4 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6173, allocations: 0 / 1.226 GB, free: 12.39 MB / 0.9512 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.0007699/0.6181, allocations: 0.5295 MB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.6182, allocations: 12.03 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.6182, allocations: 50.73 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.6192, allocations: 136.7 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.6194, allocations: 180.2 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.6195, allocations: 54.25 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.6195, allocations: 16.38 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.62, allocations: 217.8 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.62, allocations: 0 / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.6201, allocations: 12 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6201, allocations: 4 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006957/0.6208, allocations: 243.5 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.6221, allocations: 0.9627 MB / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.6226, allocations: 182.5 kB / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.6229, allocations: 112.8 kB / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/0.6235, allocations: 0.5181 MB / 1.229 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.6236, allocations: 38.5 kB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 3.176e-06/0.6236, allocations: 4 kB / 1.229 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.001065/0.6246, allocations: 329.7 kB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.6247, allocations: 55.34 kB / 1.229 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.6248, allocations: 165.5 kB / 1.229 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.6249, allocations: 29.7 kB / 1.229 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.6249, allocations: 116.3 kB / 1.229 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.625, allocations: 59.47 kB / 1.229 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.6251, allocations: 41.7 kB / 1.23 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6252, allocations: 326.8 kB / 1.23 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.6255, allocations: 99.94 kB / 1.23 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.6259, allocations: 136 kB / 1.23 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/0.6265, allocations: 191 kB / 1.23 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6265, allocations: 0 / 1.23 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000762/0.6273, allocations: 276 kB / 1.231 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6273, allocations: 7.984 kB / 1.231 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.6273, allocations: 4.031 kB / 1.231 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6274, allocations: 7.938 kB / 1.231 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.6277, allocations: 47.91 kB / 1.231 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.6277, allocations: 0 / 1.231 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.628, allocations: 39.86 kB / 1.231 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.628, allocations: 4 kB / 1.231 GB, free: 6.812 MB / 0.9512 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.0001072/0.6281, allocations: 121.8 kB / 1.231 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.6281, allocations: 11.91 kB / 1.231 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007775/0.6289, allocations: 277.5 kB / 1.231 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.6289, allocations: 7.938 kB / 1.231 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.629, allocations: 3.984 kB / 1.231 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.629, allocations: 0 / 1.231 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.6306, allocations: 1.07 MB / 1.232 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6307, allocations: 0 / 1.232 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.631, allocations: 39.91 kB / 1.232 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.631, allocations: 4 kB / 1.232 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.631, allocations: 8.047 kB / 1.232 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.631, allocations: 8 kB / 1.232 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.631, allocations: 0 / 1.232 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007448/0.6318, allocations: 353 kB / 1.232 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.6318, allocations: 96.98 kB / 1.233 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.6319, allocations: 4 kB / 1.233 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.6322, allocations: 23.97 kB / 1.233 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.6322, allocations: 11.98 kB / 1.233 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.6322, allocations: 4 kB / 1.233 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.395e-05/0.6323, allocations: 125.3 kB / 1.233 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6323, allocations: 3.938 kB / 1.233 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003866/0.6327, allocations: 135.6 kB / 1.233 GB, free: 4.316 MB / 0.9512 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.001283/0.634, allocations: 1.003 MB / 1.234 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007276/0.6347, allocations: 227.8 kB / 1.234 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6348, allocations: 8 kB / 1.234 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.6351, allocations: 109.4 kB / 1.234 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.6355, allocations: 42.19 kB / 1.234 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.6401, allocations: 2.372 MB / 1.237 GB, free: 448 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.6404, allocations: 0.7125 MB / 1.237 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.6406, allocations: 37.55 kB / 1.237 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.6407, allocations: 43.42 kB / 1.237 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.6407, allocations: 0 / 1.237 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.173/6.813, allocations: 6.358 MB / 1.243 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.876/15.69, allocations: 9.094 kB / 1.244 GB, free: 9.418 MB / 0.9669 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