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.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.001575/0.001575, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001804/0.001804, allocations: 220.7 kB / 23.04 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.662/2.662, allocations: 476.7 MB / 0.7715 GB, free: 4.344 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_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.001948/0.001948, allocations: 63.64 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2937, allocations: 170 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003508/0.2972, allocations: 2.089 MB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.2999, allocations: 1.694 MB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3, allocations: 0 / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.393e-05/0.3001, allocations: 15.8 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.3002, allocations: 51.55 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.3014, allocations: 370.7 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.3017, allocations: 231 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3019, allocations: 45.12 kB / 1.289 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.302, allocations: 87.81 kB / 1.289 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.3022, allocations: 91.67 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.3022, allocations: 16 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009357/0.3031, allocations: 431.5 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.3032, allocations: 47.84 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.993e-05/0.3033, allocations: 91.64 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.304, allocations: 442.6 kB / 1.29 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.304, allocations: 0 / 1.29 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.304, allocations: 0 / 1.29 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.304, allocations: 4 kB / 1.29 GB, free: 6.074 MB / 0.9825 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.0009486/0.305, allocations: 469.1 kB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.305, allocations: 12.03 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.715e-05/0.305, allocations: 4.422 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.488e-05/0.3051, allocations: 50.73 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.3062, allocations: 136.7 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3063, allocations: 126.4 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.3064, allocations: 75.94 kB / 1.291 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.3065, allocations: 20.38 kB / 1.291 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.3071, allocations: 233.3 kB / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3071, allocations: 0 / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.3071, allocations: 4 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3071, allocations: 4 kB / 1.291 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.3076, allocations: 169.5 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.3092, allocations: 0.767 MB / 1.292 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/0.31, allocations: 186.5 kB / 1.292 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.3103, allocations: 116.8 kB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004558/0.3108, allocations: 75.91 kB / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3108, allocations: 38.56 kB / 1.292 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.3108, allocations: 0 / 1.292 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.01187/0.3227, allocations: 1.395 MB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3227, allocations: 55.41 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3229, allocations: 162.2 kB / 1.294 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.323, allocations: 29.7 kB / 1.294 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.323, allocations: 112.4 kB / 1.294 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.3231, allocations: 67.45 kB / 1.294 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-05/0.3232, allocations: 45.66 kB / 1.294 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3233, allocations: 322.8 kB / 1.294 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.3237, allocations: 107.9 kB / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.3241, allocations: 114.9 kB / 1.294 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/0.3248, allocations: 212.7 kB / 1.295 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3248, allocations: 0 / 1.295 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.007364/0.3322, allocations: 0.8982 MB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3322, allocations: 4 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3322, allocations: 4 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.3338, allocations: 352.5 kB / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.3342, allocations: 51.98 kB / 1.296 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.336, allocations: 0.8394 MB / 1.297 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.3364, allocations: 43.81 kB / 1.297 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.3364, allocations: 4 kB / 1.297 GB, free: 14.6 MB / 0.9981 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.0001519/0.3365, allocations: 121.8 kB / 1.297 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.3366, allocations: 7.953 kB / 1.297 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.3382, allocations: 443.2 kB / 1.297 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.3382, allocations: 4 kB / 1.297 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3382, allocations: 3.938 kB / 1.297 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.3383, allocations: 3.984 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.3406, allocations: 0.8525 MB / 1.298 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3406, allocations: 0 / 1.298 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.341, allocations: 47.97 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.3425, allocations: 348.7 kB / 1.299 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.3425, allocations: 15.92 kB / 1.299 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.3443, allocations: 0.8294 MB / 1.299 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3443, allocations: 7.938 kB / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.3456, allocations: 468.5 kB / 1.3 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.3456, allocations: 15.84 kB / 1.3 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.3457, allocations: 12 kB / 1.3 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.346, allocations: 23.97 kB / 1.3 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.3461, allocations: 19.91 kB / 1.3 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.3461, allocations: 11.94 kB / 1.3 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001064/0.3462, allocations: 117.3 kB / 1.3 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3462, allocations: 0 / 1.3 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005039/0.3467, allocations: 131.6 kB / 1.3 GB, free: 11.02 MB / 0.9981 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.002049/0.3488, allocations: 1.128 MB / 1.301 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00225/0.351, allocations: 355.6 kB / 1.302 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.351, allocations: 4 kB / 1.302 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.3528, allocations: 238.5 kB / 1.302 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.3533, allocations: 52.2 kB / 1.302 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.3693, allocations: 3.6 MB / 1.305 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.3697, allocations: 0.7201 MB / 1.306 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.861e-05/0.3698, allocations: 13.81 kB / 1.306 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.3698, allocations: 43.42 kB / 1.306 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of SimCode: time 1.293e-06/0.3698, allocations: 0 / 1.306 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.4027, allocations: 8.16 MB / 1.314 GB, free: 12.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13, allocations: 6.688 kB / 1.314 GB, free: 12.75 MB / 1.014 GB " [Timeout remaining time 286] (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 --stepSize=0.04 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.497813383990433]