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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 71.83 kB / 1.104 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9306/0.9327, allocations: 168.7 MB / 1.269 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.004488/0.9372, allocations: 2.05 MB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003051/0.9402, allocations: 1.689 MB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.9403, allocations: 3.938 kB / 1.272 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.843e-05/0.9404, allocations: 19.8 kB / 1.272 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.9406, allocations: 47.55 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.9422, allocations: 354.8 kB / 1.273 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.9426, allocations: 227.2 kB / 1.273 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.9428, allocations: 47.3 kB / 1.273 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.943, allocations: 87.7 kB / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.9432, allocations: 95.66 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.9433, allocations: 20 kB / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.9445, allocations: 415.5 kB / 1.274 GB, free: 96 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.9446, allocations: 47.88 kB / 1.274 GB, free: 48 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.9447, allocations: 87.66 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009445/0.9457, allocations: 442.6 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9457, allocations: 4 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.554e-06/0.9457, allocations: 0 / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.9457, allocations: 0 / 1.274 GB, free: 15.52 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.001043/0.9467, allocations: 0.5334 MB / 1.275 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.9468, allocations: 8.031 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.61e-05/0.9468, allocations: 46.73 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.948, allocations: 140.7 kB / 1.275 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.9482, allocations: 192.1 kB / 1.275 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.9483, allocations: 50.27 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.9483, allocations: 12.38 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.9489, allocations: 221.8 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.9489, allocations: 4 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.949, allocations: 4 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.949, allocations: 4 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007408/0.9497, allocations: 239.6 kB / 1.276 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.9513, allocations: 0.9588 MB / 1.277 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.9518, allocations: 166.6 kB / 1.277 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.9522, allocations: 104.8 kB / 1.277 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007593/0.9529, allocations: 0.5181 MB / 1.277 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.953, allocations: 38.55 kB / 1.277 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.454e-06/0.953, allocations: 0 / 1.277 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.001163/0.9541, allocations: 329.4 kB / 1.278 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.9542, allocations: 51.69 kB / 1.278 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.9543, allocations: 165.9 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.9544, allocations: 29.7 kB / 1.278 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.9545, allocations: 116.3 kB / 1.278 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.9545, allocations: 63.47 kB / 1.278 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/0.9546, allocations: 41.69 kB / 1.278 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9548, allocations: 330.8 kB / 1.278 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.9551, allocations: 99.94 kB / 1.279 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.9555, allocations: 124.5 kB / 1.279 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.9561, allocations: 199.6 kB / 1.279 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9561, allocations: 4 kB / 1.279 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008288/0.957, allocations: 269.4 kB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.957, allocations: 8 kB / 1.279 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.957, allocations: 0 / 1.279 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.957, allocations: 3.938 kB / 1.279 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.9574, allocations: 55.89 kB / 1.279 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.9574, allocations: 8 kB / 1.279 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.9577, allocations: 23.88 kB / 1.279 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.9577, allocations: 11.98 kB / 1.279 GB, free: 9.98 MB / 0.9825 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.0001549/0.9579, allocations: 133.7 kB / 1.279 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.9579, allocations: 15.91 kB / 1.279 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/0.9588, allocations: 274.6 kB / 1.28 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9588, allocations: 3.938 kB / 1.28 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9588, allocations: 3.938 kB / 1.28 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.9588, allocations: 0 / 1.28 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.9608, allocations: 1.065 MB / 1.281 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.9608, allocations: 0 / 1.281 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.9611, allocations: 48.02 kB / 1.281 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.9611, allocations: 0 / 1.281 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.9611, allocations: 8 kB / 1.281 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.9611, allocations: 0 / 1.281 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.9611, allocations: 3.938 kB / 1.281 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.962, allocations: 362.5 kB / 1.281 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.962, allocations: 89 kB / 1.281 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/0.9621, allocations: 8 kB / 1.281 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.9624, allocations: 19.97 kB / 1.281 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.9625, allocations: 15.98 kB / 1.281 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.9625, allocations: 4 kB / 1.281 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001177/0.9626, allocations: 121.1 kB / 1.281 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9626, allocations: 0 / 1.281 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005377/0.9631, allocations: 135.6 kB / 1.281 GB, free: 7.484 MB / 0.9825 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.001633/0.9648, allocations: 1.006 MB / 1.282 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008261/0.9656, allocations: 226.7 kB / 1.283 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.9656, allocations: 0 / 1.283 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.9659, allocations: 104.1 kB / 1.283 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.9664, allocations: 43.91 kB / 1.283 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/0.9719, allocations: 2.376 MB / 1.285 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.9723, allocations: 0.7086 MB / 1.286 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.9725, allocations: 25.55 kB / 1.286 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.9726, allocations: 51.41 kB / 1.286 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of SimCode: time 1.132e-06/0.9726, allocations: 3.938 kB / 1.286 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/1.005, allocations: 6.384 MB / 1.292 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/9.426, allocations: 9.094 kB / 1.292 GB, free: 12.56 MB / 0.9981 GB " [Timeout remaining time 291] (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_2/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: 15.530371355824172]