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.001322/0.001322, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001367/0.001367, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.841/2.841, allocations: 0.5003 GB / 0.8026 GB, free: 6.754 MB / 0.6387 GB " [Timeout remaining time 176] 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.001957/0.001957, allocations: 64.09 kB / 1.165 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8983/0.9002, allocations: 179 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00316/0.9034, allocations: 2.064 MB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00221/0.9056, allocations: 1.681 MB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.9057, allocations: 1.562 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.151e-05/0.9057, allocations: 24.56 kB / 1.344 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.9059, allocations: 48.84 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009536/0.9068, allocations: 361 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.9071, allocations: 228.1 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.9072, allocations: 33.69 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.9073, allocations: 92.73 kB / 1.345 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.9075, allocations: 95.3 kB / 1.345 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.9075, allocations: 19.72 kB / 1.345 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000771/0.9083, allocations: 415.6 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.9083, allocations: 43.91 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.9084, allocations: 94.72 kB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006107/0.909, allocations: 433.6 kB / 1.346 GB, free: 12.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.909, allocations: 0 / 1.346 GB, free: 12.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/0.909, allocations: 0 / 1.346 GB, free: 12.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.909, allocations: 4 kB / 1.346 GB, free: 12.88 MB / 1.061 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.0008255/0.9098, allocations: 0.5291 MB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9099, allocations: 9.625 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.538e-05/0.9099, allocations: 4.547 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.9099, allocations: 52.23 kB / 1.346 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003755/0.9137, allocations: 379.3 kB / 1.347 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.9138, allocations: 177.4 kB / 1.347 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.412e-05/0.9139, allocations: 50.5 kB / 1.347 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.9139, allocations: 14.5 kB / 1.347 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.9156, allocations: 370.1 kB / 1.347 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.9156, allocations: 0 / 1.347 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.9156, allocations: 5.5 kB / 1.347 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.9157, allocations: 5.156 kB / 1.347 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.9184, allocations: 473.7 kB / 1.348 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.92, allocations: 1.12 MB / 1.349 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.9234, allocations: 0.4949 MB / 1.349 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.9248, allocations: 228.7 kB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.9249, allocations: 89.86 kB / 1.349 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.9249, allocations: 32.64 kB / 1.349 GB, free: 10.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.355e-06/0.9249, allocations: 4 kB / 1.35 GB, free: 10.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.004242/0.9292, allocations: 0.6545 MB / 1.35 GB, free: 10.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.9292, allocations: 53.91 kB / 1.35 GB, free: 10.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.9293, allocations: 160.3 kB / 1.35 GB, free: 10.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.9294, allocations: 30.7 kB / 1.35 GB, free: 10.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.9294, allocations: 119.8 kB / 1.35 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.9295, allocations: 62.95 kB / 1.351 GB, free: 9.984 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.9296, allocations: 47.08 kB / 1.351 GB, free: 9.957 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.9297, allocations: 325.9 kB / 1.351 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.9311, allocations: 227.9 kB / 1.351 GB, free: 9.578 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.9325, allocations: 246.1 kB / 1.351 GB, free: 9.504 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.9351, allocations: 388.2 kB / 1.352 GB, free: 9.398 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.9351, allocations: 0 / 1.352 GB, free: 9.398 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002908/0.938, allocations: 499.9 kB / 1.352 GB, free: 9.246 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.938, allocations: 9.062 kB / 1.352 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.938, allocations: 0.6562 kB / 1.352 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.762e-05/0.9381, allocations: 6.125 kB / 1.352 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/0.939, allocations: 95.86 kB / 1.352 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.939, allocations: 5 kB / 1.352 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/0.9398, allocations: 76.16 kB / 1.352 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.9398, allocations: 19.55 kB / 1.352 GB, free: 9.203 MB / 1.061 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.0001583/0.94, allocations: 121 kB / 1.353 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.9401, allocations: 17 kB / 1.353 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/0.943, allocations: 0.5138 MB / 1.353 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.943, allocations: 1.875 kB / 1.353 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.943, allocations: 0.6094 kB / 1.353 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.943, allocations: 5.828 kB / 1.353 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/0.9482, allocations: 1.023 MB / 1.354 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.9482, allocations: 0.75 kB / 1.354 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.949, allocations: 100.5 kB / 1.354 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.949, allocations: 2.062 kB / 1.354 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.9491, allocations: 5.641 kB / 1.354 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.9491, allocations: 2.047 kB / 1.354 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9491, allocations: 0 / 1.354 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.9519, allocations: 0.5491 MB / 1.355 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.9519, allocations: 91.03 kB / 1.355 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.952, allocations: 2.125 kB / 1.355 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/0.9528, allocations: 66.84 kB / 1.355 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.9529, allocations: 13.75 kB / 1.355 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.9529, allocations: 14.25 kB / 1.355 GB, free: 8.023 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.953, allocations: 127.4 kB / 1.355 GB, free: 7.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.953, allocations: 0 / 1.355 GB, free: 7.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006182/0.9537, allocations: 133.6 kB / 1.355 GB, free: 7.895 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 (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.00317/0.9568, allocations: 1.198 MB / 1.356 GB, free: 7.082 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002776/0.9596, allocations: 446.1 kB / 1.357 GB, free: 6.988 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9596, allocations: 5.375 kB / 1.357 GB, free: 6.984 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.9609, allocations: 213.2 kB / 1.357 GB, free: 6.941 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.9614, allocations: 53.03 kB / 1.357 GB, free: 6.918 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.9724, allocations: 3.089 MB / 1.36 GB, free: 5.176 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.9725, allocations: 0.7134 MB / 1.361 GB, free: 4.477 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003295/0.9728, allocations: 65.66 kB / 1.361 GB, free: 4.438 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.973, allocations: 53.8 kB / 1.361 GB, free: 4.41 MB / 1.061 GB Notification: Performance of SimCode: time 8.22e-07/0.973, allocations: 0 / 1.361 GB, free: 4.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.9979, allocations: 7.938 MB / 1.369 GB, free: 3.637 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/9.253, allocations: 11.08 kB / 1.369 GB, free: 3.629 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.439950255968142]