Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 104 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.117/3.117, allocations: 0.49 GB / 0.7916 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 75.7 kB / 1.149 GB, free: 26.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2952, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003232/0.2984, allocations: 2.066 MB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.3009, allocations: 1.701 MB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.301, allocations: 0 / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.466e-05/0.301, allocations: 23.8 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.3011, allocations: 47.55 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009749/0.3021, allocations: 358.8 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.3024, allocations: 235.1 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3025, allocations: 33.83 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3026, allocations: 91.75 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.3028, allocations: 91.67 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.3028, allocations: 16 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007994/0.3036, allocations: 423.5 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.3036, allocations: 47.89 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.3037, allocations: 91.59 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000616/0.3044, allocations: 442.6 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3044, allocations: 3.938 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3044, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.3044, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 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.0009152/0.3053, allocations: 0.5334 MB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3053, allocations: 15.98 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.3054, allocations: 54.73 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.3066, allocations: 132.7 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.3067, allocations: 180.2 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.264e-05/0.3068, allocations: 54.25 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.3068, allocations: 16.38 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.3074, allocations: 217.6 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3074, allocations: 0 / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.3075, allocations: 8 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3075, allocations: 7.984 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007983/0.3083, allocations: 231.8 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.3098, allocations: 0.9664 MB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.3103, allocations: 174.6 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.3107, allocations: 100.7 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000712/0.3114, allocations: 0.5259 MB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3114, allocations: 34.56 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.3114, allocations: 3.938 kB / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.001274/0.3127, allocations: 329.7 kB / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3127, allocations: 51.41 kB / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3129, allocations: 162.3 kB / 1.33 GB, free: 9.527 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.3129, allocations: 29.7 kB / 1.33 GB, free: 9.492 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.313, allocations: 124.2 kB / 1.33 GB, free: 9.363 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.3131, allocations: 55.56 kB / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-05/0.3131, allocations: 45.66 kB / 1.33 GB, free: 9.258 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3133, allocations: 330.8 kB / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.3137, allocations: 103.9 kB / 1.331 GB, free: 8.824 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.3141, allocations: 119.7 kB / 1.331 GB, free: 8.703 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.3148, allocations: 199.8 kB / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3148, allocations: 0 / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008698/0.3157, allocations: 273.4 kB / 1.331 GB, free: 8.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3157, allocations: 4 kB / 1.331 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3157, allocations: 4 kB / 1.331 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3157, allocations: 3.938 kB / 1.331 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.3161, allocations: 55.89 kB / 1.331 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3161, allocations: 0 / 1.331 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.3164, allocations: 35.83 kB / 1.331 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.3164, allocations: 7.984 kB / 1.331 GB, free: 8.121 MB / 1.029 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.0001252/0.3166, allocations: 125.8 kB / 1.331 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.3166, allocations: 19.91 kB / 1.331 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008982/0.3175, allocations: 258.6 kB / 1.332 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3175, allocations: 7.938 kB / 1.332 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3175, allocations: 0 / 1.332 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3175, allocations: 4 kB / 1.332 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.3195, allocations: 1.073 MB / 1.333 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3195, allocations: 8.047 kB / 1.333 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.3199, allocations: 43.91 kB / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3199, allocations: 0 / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.3199, allocations: 4 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3199, allocations: 4 kB / 1.333 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3199, allocations: 7.922 kB / 1.333 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.3208, allocations: 359.7 kB / 1.333 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.3208, allocations: 89.06 kB / 1.333 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.3209, allocations: 0 / 1.333 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.3212, allocations: 31.97 kB / 1.333 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.3212, allocations: 11.92 kB / 1.333 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.3213, allocations: 4 kB / 1.333 GB, free: 5.883 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001034/0.3214, allocations: 127.2 kB / 1.333 GB, free: 5.758 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3214, allocations: 0 / 1.333 GB, free: 5.758 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004922/0.3219, allocations: 135.5 kB / 1.334 GB, free: 5.625 MB / 1.029 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.001523/0.3234, allocations: 1.006 MB / 1.335 GB, free: 4.586 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008489/0.3242, allocations: 223.8 kB / 1.335 GB, free: 4.367 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3242, allocations: 0 / 1.335 GB, free: 4.367 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.3246, allocations: 109.9 kB / 1.335 GB, free: 4.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.325, allocations: 42.17 kB / 1.335 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/0.3304, allocations: 2.363 MB / 1.337 GB, free: 1.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3307, allocations: 0.7086 MB / 1.338 GB, free: 1.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.3309, allocations: 45.67 kB / 1.338 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.331, allocations: 39.42 kB / 1.338 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.331, allocations: 4 kB / 1.338 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.3611, allocations: 6.433 MB / 1.344 GB, free: 10.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.472, allocations: 6.203 kB / 1.344 GB, free: 10.66 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.880339440191165]