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.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.001468/0.001468, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001642/0.001642, allocations: 212.9 kB / 22.25 MB, free: 5.082 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.328/1.328, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.956/2.956, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.00196/0.00196, allocations: 67.72 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2915, allocations: 180.2 MB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003254/0.2948, allocations: 2.079 MB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002437/0.2972, allocations: 1.684 MB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.236e-05/0.2973, allocations: 4 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.114e-05/0.2974, allocations: 19.78 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.2975, allocations: 55.55 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2985, allocations: 362.8 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000261/0.2988, allocations: 231.1 kB / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.2989, allocations: 37.95 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.2991, allocations: 83.78 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.2992, allocations: 95.66 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.2992, allocations: 24 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008177/0.3, allocations: 423.4 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.3001, allocations: 39.91 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.694e-05/0.3002, allocations: 95.62 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.3008, allocations: 438.6 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3008, allocations: 0 / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.123e-06/0.3008, allocations: 0 / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3008, allocations: 0 / 1.358 GB, free: 2.75 MB / 1.045 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.0008659/0.3017, allocations: 465.2 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3017, allocations: 8.031 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.878e-05/0.3018, allocations: 54.73 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/0.3054, allocations: 368.3 kB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3055, allocations: 134.3 kB / 1.359 GB, free: 1.676 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.275e-05/0.3056, allocations: 67.97 kB / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.3057, allocations: 20.38 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.3072, allocations: 377.3 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3072, allocations: 4 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.3073, allocations: 8 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3073, allocations: 4 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.3096, allocations: 403.3 kB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.3114, allocations: 0.9208 MB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003828/0.3152, allocations: 0.5527 MB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.3165, allocations: 232.7 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.3166, allocations: 23.92 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3166, allocations: 38.56 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.3166, allocations: 0 / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.01377/0.3304, allocations: 1.722 MB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3304, allocations: 55.41 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3306, allocations: 164.6 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.3306, allocations: 25.7 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.3307, allocations: 120.4 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.3307, allocations: 59.47 kB / 1.364 GB, free: 12.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.3309, allocations: 49.67 kB / 1.364 GB, free: 12.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.331, allocations: 322.8 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.3322, allocations: 231.8 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.3334, allocations: 235.7 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.3357, allocations: 406.2 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3357, allocations: 3.938 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.008637/0.3443, allocations: 1.121 MB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3443, allocations: 8 kB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3443, allocations: 0 / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.3458, allocations: 347.7 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/0.3466, allocations: 103.9 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.3482, allocations: 0.8371 MB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007517/0.349, allocations: 75.77 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.349, allocations: 7.984 kB / 1.368 GB, free: 9.02 MB / 1.061 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.0001585/0.3492, allocations: 141.7 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.3493, allocations: 15.91 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/0.3526, allocations: 0.6823 MB / 1.368 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3526, allocations: 0 / 1.368 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3526, allocations: 4 kB / 1.368 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3526, allocations: 3.984 kB / 1.368 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/0.3576, allocations: 1.18 MB / 1.37 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3576, allocations: 0 / 1.37 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/0.3584, allocations: 95.92 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.3597, allocations: 352.5 kB / 1.37 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.3597, allocations: 7.984 kB / 1.37 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.3613, allocations: 0.8372 MB / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3613, allocations: 3.984 kB / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.3642, allocations: 0.6633 MB / 1.371 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.3643, allocations: 23.84 kB / 1.372 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.3643, allocations: 0 / 1.372 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.3651, allocations: 71.91 kB / 1.372 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.3651, allocations: 7.984 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.3652, allocations: 15.98 kB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001021/0.3653, allocations: 120.9 kB / 1.372 GB, free: 4.672 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3653, allocations: 0 / 1.372 GB, free: 4.672 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004767/0.3657, allocations: 131.6 kB / 1.372 GB, free: 4.543 MB / 1.061 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.003507/0.3692, allocations: 1.312 MB / 1.373 GB, free: 3.195 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003821/0.3731, allocations: 0.5917 MB / 1.374 GB, free: 2.605 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3731, allocations: 0 / 1.374 GB, free: 2.605 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002472/0.3755, allocations: 349.4 kB / 1.374 GB, free: 2.266 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.376, allocations: 51.91 kB / 1.374 GB, free: 2.219 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/0.396, allocations: 4.311 MB / 1.378 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.3963, allocations: 0.7164 MB / 1.379 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002463/0.3965, allocations: 41.81 kB / 1.379 GB, free: 13.03 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.3967, allocations: 55.39 kB / 1.379 GB, free: 12.97 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.3967, allocations: 0 / 1.379 GB, free: 12.97 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.4355, allocations: 9.605 MB / 1.388 GB, free: 3.535 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.66, allocations: 14.14 kB / 1.388 GB, free: 3.523 MB / 1.076 GB " [Timeout remaining time 287] (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 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.87728336104192]