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.001153/0.001153, allocations: 98.08 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.001272/0.001272, allocations: 214.4 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.309/1.309, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.857/2.857, allocations: 0.5003 GB / 0.8061 GB, free: 26.67 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_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.001781/0.001781, allocations: 66.58 kB / 1.171 GB, free: 19.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2773, allocations: 179 MB / 1.345 GB, free: 396 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003056/0.2804, allocations: 2.089 MB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002274/0.2827, allocations: 1.682 MB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.2827, allocations: 0 / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.69e-05/0.2828, allocations: 19.8 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.748e-05/0.2829, allocations: 47.55 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008801/0.2838, allocations: 362.8 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.284, allocations: 235.1 kB / 1.35 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2841, allocations: 43.45 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.2842, allocations: 91.75 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.2844, allocations: 91.67 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.2844, allocations: 16 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.2851, allocations: 423.5 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.2852, allocations: 43.89 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.977e-05/0.2853, allocations: 99.59 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.2858, allocations: 434.7 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2858, allocations: 0 / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2858, allocations: 0 / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2858, allocations: 0 / 1.351 GB, free: 10.73 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.0007881/0.2866, allocations: 462.3 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2866, allocations: 12.03 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.295e-05/0.2866, allocations: 8.422 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.2867, allocations: 50.73 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/0.29, allocations: 376.3 kB / 1.352 GB, free: 9.801 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2901, allocations: 122.3 kB / 1.352 GB, free: 9.656 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.2902, allocations: 83.7 kB / 1.352 GB, free: 9.562 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.2903, allocations: 12.38 kB / 1.352 GB, free: 9.551 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.2918, allocations: 377.4 kB / 1.352 GB, free: 9.176 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2918, allocations: 0 / 1.352 GB, free: 9.176 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.2919, allocations: 8 kB / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2919, allocations: 4 kB / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.2941, allocations: 403.6 kB / 1.353 GB, free: 8.77 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2958, allocations: 0.9207 MB / 1.354 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003768/0.2996, allocations: 0.5528 MB / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.3009, allocations: 240.6 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.554e-05/0.301, allocations: 8 kB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.301, allocations: 38.56 kB / 1.354 GB, free: 6.941 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.301, allocations: 0 / 1.354 GB, free: 6.941 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.01362/0.3146, allocations: 1.724 MB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3147, allocations: 59.39 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3148, allocations: 152.6 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.3149, allocations: 33.7 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.3149, allocations: 116.3 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.315, allocations: 71.41 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.3151, allocations: 49.62 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3153, allocations: 322.8 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.3165, allocations: 231.8 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3178, allocations: 227.8 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/0.3201, allocations: 406.7 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3201, allocations: 0 / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.008609/0.3287, allocations: 1.114 MB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3287, allocations: 8 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3287, allocations: 0 / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.3302, allocations: 356.5 kB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/0.331, allocations: 99.84 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.3326, allocations: 0.8371 MB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/0.3334, allocations: 79.75 kB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.3334, allocations: 11.98 kB / 1.36 GB, free: 0.9922 MB / 1.045 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.0001438/0.3336, allocations: 125.8 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.3336, allocations: 11.91 kB / 1.36 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/0.337, allocations: 0.6982 MB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.337, allocations: 0 / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.337, allocations: 0 / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.337, allocations: 0 / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005066/0.3421, allocations: 1.184 MB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3421, allocations: 7.938 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/0.3429, allocations: 91.94 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.3443, allocations: 360.4 kB / 1.362 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.3443, allocations: 11.92 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.3459, allocations: 0.8372 MB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3459, allocations: 0 / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.3488, allocations: 0.6576 MB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.3489, allocations: 15.84 kB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.3489, allocations: 8 kB / 1.364 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/0.3497, allocations: 63.91 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.3497, allocations: 19.97 kB / 1.364 GB, free: 12.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.3498, allocations: 11.92 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.002e-05/0.3498, allocations: 116.6 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3498, allocations: 0 / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004615/0.3503, allocations: 131.6 kB / 1.364 GB, free: 12.53 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.003615/0.3539, allocations: 1.317 MB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003897/0.3578, allocations: 0.5775 MB / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3578, allocations: 0 / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.3603, allocations: 354.2 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.3608, allocations: 40.09 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/0.3813, allocations: 4.318 MB / 1.371 GB, free: 5.797 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3816, allocations: 0.7125 MB / 1.371 GB, free: 5.059 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002297/0.3819, allocations: 53.78 kB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.382, allocations: 51.39 kB / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/0.382, allocations: 0 / 1.372 GB, free: 4.957 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.4129, allocations: 9.647 MB / 1.381 GB, free: 11.5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.32, allocations: 12 kB / 1.381 GB, free: 11.48 MB / 1.076 GB " [Timeout remaining time 288] (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.36121990403626]