Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001329/0.001329, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001434/0.001434, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.43/1.43, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.123/3.123, allocations: 0.49 GB / 0.7916 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.002061/0.002061, allocations: 64.55 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3251, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003916/0.329, allocations: 2.061 MB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003002/0.332, allocations: 1.69 MB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.3321, allocations: 7.938 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.289e-05/0.3322, allocations: 19.8 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.3324, allocations: 47.55 kB / 1.325 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3337, allocations: 358.8 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.334, allocations: 219.1 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.3342, allocations: 45.75 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.3343, allocations: 75.78 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.3345, allocations: 91.66 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.3345, allocations: 20 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000934/0.3355, allocations: 423.5 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.3355, allocations: 35.91 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.3356, allocations: 87.66 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007886/0.3364, allocations: 434.6 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3364, allocations: 8 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3364, allocations: 0 / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3364, allocations: 0 / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009819/0.3374, allocations: 0.5217 MB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3375, allocations: 11.98 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.549e-05/0.3375, allocations: 50.73 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006267/0.3381, allocations: 88.73 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.3383, allocations: 192.1 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/0.3384, allocations: 46.25 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.3384, allocations: 16.38 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.3389, allocations: 185.8 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3389, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.3389, allocations: 8 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3389, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.3394, allocations: 179.8 kB / 1.328 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.341, allocations: 0.9113 MB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005502/0.3415, allocations: 158.5 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.3417, allocations: 68.83 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007242/0.3424, allocations: 0.522 MB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.3425, allocations: 38.56 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.3425, allocations: 0 / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0007984/0.3433, allocations: 233.5 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.3433, allocations: 51.41 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3435, allocations: 173.3 kB / 1.33 GB, free: 9.918 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.3435, allocations: 25.7 kB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.3436, allocations: 127.9 kB / 1.33 GB, free: 9.758 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.3437, allocations: 43.64 kB / 1.33 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.3437, allocations: 37.7 kB / 1.33 GB, free: 9.672 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3439, allocations: 322.8 kB / 1.33 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.3441, allocations: 75.91 kB / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.3444, allocations: 97.67 kB / 1.33 GB, free: 9.172 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.3448, allocations: 155.6 kB / 1.33 GB, free: 9.016 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3448, allocations: 0 / 1.33 GB, free: 9.016 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005678/0.3453, allocations: 211.5 kB / 1.331 GB, free: 8.805 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3454, allocations: 8.031 kB / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3454, allocations: 0 / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3454, allocations: 0 / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.3456, allocations: 43.91 kB / 1.331 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3457, allocations: 4 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3459, allocations: 27.77 kB / 1.331 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.3459, allocations: 8 kB / 1.331 GB, free: 8.715 MB / 1.029 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 (20): * Single equations (assignments): 20 * 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.0001382/0.346, allocations: 133.8 kB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.3461, allocations: 7.953 kB / 1.331 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005938/0.3467, allocations: 202.2 kB / 1.331 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3467, allocations: 4 kB / 1.331 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3467, allocations: 4 kB / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3467, allocations: 7.984 kB / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.3484, allocations: 0.9701 MB / 1.332 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3484, allocations: 4.031 kB / 1.332 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.3486, allocations: 35.91 kB / 1.332 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3486, allocations: 0 / 1.332 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3486, allocations: 8 kB / 1.332 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3486, allocations: 0 / 1.332 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3486, allocations: 0 / 1.332 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.3492, allocations: 289.5 kB / 1.332 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.3493, allocations: 100.9 kB / 1.332 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.3493, allocations: 4 kB / 1.332 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.3495, allocations: 15.98 kB / 1.332 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.3496, allocations: 19.8 kB / 1.332 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.3496, allocations: 8 kB / 1.332 GB, free: 6.703 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001046/0.3497, allocations: 121.1 kB / 1.333 GB, free: 6.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3497, allocations: 0 / 1.333 GB, free: 6.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005061/0.3502, allocations: 131.6 kB / 1.333 GB, free: 6.457 MB / 1.029 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 (14): * Single equations (assignments): 14 * 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.001328/0.3515, allocations: 0.9455 MB / 1.334 GB, free: 5.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005566/0.3521, allocations: 171.8 kB / 1.334 GB, free: 5.312 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3521, allocations: 0 / 1.334 GB, free: 5.312 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.3523, allocations: 75.84 kB / 1.334 GB, free: 5.238 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3528, allocations: 52.56 kB / 1.334 GB, free: 5.191 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.356, allocations: 2.055 MB / 1.336 GB, free: 3.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.3564, allocations: 0.7086 MB / 1.337 GB, free: 2.297 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.3565, allocations: 30.17 kB / 1.337 GB, free: 2.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3566, allocations: 39.52 kB / 1.337 GB, free: 2.23 MB / 1.029 GB Notification: Performance of SimCode: time 1.072e-06/0.3566, allocations: 7.875 kB / 1.337 GB, free: 2.223 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.3895, allocations: 6.136 MB / 1.343 GB, free: 12.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.671, allocations: 21.89 kB / 1.343 GB, free: 12.25 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.111275220988318]