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.001163/0.001163, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001278/0.001278, allocations: 221.5 kB / 23.05 MB, free: 5.074 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.295/1.295, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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 2.832/2.832, allocations: 0.49 GB / 0.7959 GB, free: 33.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="cs",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.00182/0.00182, allocations: 64.25 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2672, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003091/0.2703, allocations: 2.084 MB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.2726, allocations: 1.702 MB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.2727, allocations: 7.938 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.77e-05/0.2728, allocations: 11.86 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.946e-05/0.2729, allocations: 55.48 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009148/0.2738, allocations: 362.8 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.274, allocations: 227.1 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2741, allocations: 41.95 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2742, allocations: 91.7 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.2744, allocations: 91.66 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.2744, allocations: 24 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007804/0.2752, allocations: 427.5 kB / 1.332 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.2752, allocations: 43.91 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/0.2753, allocations: 87.59 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005652/0.2759, allocations: 438.7 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2759, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2759, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2759, allocations: 0 / 1.332 GB, free: 12.31 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.0008062/0.2767, allocations: 469.1 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2767, allocations: 8.031 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.426e-05/0.2768, allocations: 4.422 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.2768, allocations: 58.67 kB / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.2779, allocations: 136.7 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.278, allocations: 130.3 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.021e-05/0.2781, allocations: 71.97 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.2781, allocations: 16.38 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/0.2787, allocations: 234 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2787, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.2787, allocations: 8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2787, allocations: 7.938 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.2792, allocations: 163.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.2806, allocations: 0.7903 MB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.2813, allocations: 182.6 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.2816, allocations: 104.8 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004264/0.2821, allocations: 79.89 kB / 1.335 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2821, allocations: 38.5 kB / 1.335 GB, free: 9.691 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.2821, allocations: 0 / 1.335 GB, free: 9.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.01101/0.2931, allocations: 1.381 MB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.2931, allocations: 59.34 kB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.2933, allocations: 160 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.2933, allocations: 37.7 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.2934, allocations: 120.2 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.2934, allocations: 55.53 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.2935, allocations: 45.64 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2937, allocations: 322.8 kB / 1.337 GB, free: 7.469 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.294, allocations: 111.9 kB / 1.337 GB, free: 7.359 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.2944, allocations: 111.9 kB / 1.337 GB, free: 7.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.295, allocations: 215.5 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.295, allocations: 0 / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.006946/0.302, allocations: 0.8992 MB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.302, allocations: 8 kB / 1.338 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.302, allocations: 0 / 1.338 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.3035, allocations: 348.5 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.3039, allocations: 55.91 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.3056, allocations: 0.8372 MB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.3059, allocations: 31.83 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.3059, allocations: 7.984 kB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.306, allocations: 122.4 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.3061, allocations: 15.95 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.3076, allocations: 452.7 kB / 1.34 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3076, allocations: 0 / 1.34 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3076, allocations: 0 / 1.34 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3076, allocations: 3.938 kB / 1.34 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.3097, allocations: 0.8562 MB / 1.341 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3098, allocations: 0 / 1.341 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.3101, allocations: 39.98 kB / 1.341 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.3115, allocations: 360.5 kB / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3115, allocations: 7.938 kB / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.3131, allocations: 0.8333 MB / 1.342 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3131, allocations: 0 / 1.342 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.3143, allocations: 479 kB / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.3143, allocations: 15.84 kB / 1.342 GB, free: 1.539 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.3143, allocations: 8 kB / 1.342 GB, free: 1.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.3147, allocations: 23.97 kB / 1.342 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.3147, allocations: 15.97 kB / 1.342 GB, free: 1.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3147, allocations: 7.938 kB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.859e-05/0.3148, allocations: 125.1 kB / 1.342 GB, free: 1.363 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3148, allocations: 4 kB / 1.342 GB, free: 1.359 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004506/0.3153, allocations: 131.6 kB / 1.343 GB, free: 1.23 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001761/0.317, allocations: 1.119 MB / 1.344 GB, free: 80 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.3191, allocations: 381.7 kB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3191, allocations: 0 / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.3207, allocations: 235.8 kB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.3212, allocations: 51.53 kB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.336, allocations: 3.592 MB / 1.348 GB, free: 11.74 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3363, allocations: 0.7164 MB / 1.349 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.329e-05/0.3364, allocations: 13.66 kB / 1.349 GB, free: 10.99 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.3364, allocations: 39.42 kB / 1.349 GB, free: 10.95 MB / 1.045 GB Notification: Performance of SimCode: time 5.82e-07/0.3364, allocations: 0 / 1.349 GB, free: 10.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.3652, allocations: 8.172 MB / 1.357 GB, free: 2.973 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.55, allocations: 7.141 kB / 1.357 GB, free: 2.973 MB / 1.045 GB " [Timeout remaining time 287] (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: 18.569338817032985]