Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_10_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.001263/0.001263, allocations: 108 kB / 15.61 MB, free: 152 kB / 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: 196.6 kB / 16.53 MB, free: 6.664 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.307/2.307, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4979, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00302/0.501, allocations: 2.035 MB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.5032, allocations: 1.671 MB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.5033, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.608e-05/0.5033, allocations: 15.8 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.888e-05/0.5034, allocations: 47.55 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000864/0.5043, allocations: 374.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.5045, allocations: 223.2 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.5047, allocations: 49.53 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.5048, allocations: 83.72 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.5049, allocations: 95.66 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.505, allocations: 24 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007096/0.5057, allocations: 399.5 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.5057, allocations: 39.91 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.5058, allocations: 91.64 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.5064, allocations: 429.2 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5064, allocations: 4 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5064, allocations: 3.938 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5064, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 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.0008237/0.5072, allocations: 0.5225 MB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.5073, allocations: 8.031 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.5073, allocations: 54.73 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.5085, allocations: 136.6 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.5086, allocations: 184.1 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.806e-05/0.5087, allocations: 54.25 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.5087, allocations: 16.31 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.5093, allocations: 221.5 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.5093, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.5093, allocations: 8 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.5093, allocations: 7.984 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007298/0.5101, allocations: 235.8 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.5114, allocations: 0.9662 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.5119, allocations: 184.6 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.5122, allocations: 113.1 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.5129, allocations: 0.522 MB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5129, allocations: 34.55 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.5129, allocations: 0 / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001141/0.5141, allocations: 333.3 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.5141, allocations: 51.41 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.5142, allocations: 163.4 kB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.5143, allocations: 29.7 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.5143, allocations: 116.2 kB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.5144, allocations: 63.17 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.5145, allocations: 37.7 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5146, allocations: 330.8 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.515, allocations: 99.94 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.5153, allocations: 122.2 kB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.516, allocations: 205.7 kB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.516, allocations: 0 / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008087/0.5168, allocations: 269.4 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5169, allocations: 8 kB / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5169, allocations: 0 / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5169, allocations: 7.875 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.5173, allocations: 55.89 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5173, allocations: 4 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.5176, allocations: 31.77 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.5176, allocations: 11.98 kB / 1.028 GB, free: 7.316 MB / 0.7794 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.0001096/0.5177, allocations: 125.8 kB / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.5178, allocations: 15.81 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/0.5186, allocations: 271.5 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5186, allocations: 7.938 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5186, allocations: 0 / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5186, allocations: 0 / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.5204, allocations: 1.062 MB / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5204, allocations: 0 / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.5207, allocations: 51.95 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5207, allocations: 0 / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.5208, allocations: 8 kB / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5208, allocations: 0 / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5208, allocations: 0 / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.5215, allocations: 358.4 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.5216, allocations: 96.84 kB / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.5216, allocations: 4 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.522, allocations: 23.97 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.522, allocations: 15.98 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.522, allocations: 8 kB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.239e-05/0.5221, allocations: 121.5 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5221, allocations: 0 / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004196/0.5226, allocations: 123.9 kB / 1.03 GB, free: 4.84 MB / 0.7794 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.001336/0.5239, allocations: 1.018 MB / 1.031 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007664/0.5247, allocations: 231.8 kB / 1.031 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5247, allocations: 4 kB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.5251, allocations: 116.1 kB / 1.031 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.5255, allocations: 41.95 kB / 1.031 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/0.5303, allocations: 2.358 MB / 1.034 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.5305, allocations: 0.7086 MB / 1.034 GB, free: 224 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001931/0.5307, allocations: 29.55 kB / 1.034 GB, free: 196 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.5308, allocations: 43.42 kB / 1.034 GB, free: 152 kB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5308, allocations: 0 / 1.034 GB, free: 152 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.301/2.831, allocations: 6.299 MB / 1.041 GB, free: 9.984 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/14.41, allocations: 5.141 kB / 1.041 GB, free: 9.98 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches