Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001397/0.001396, allocations: 110.6 kB / 17.08 MB, free: 6.012 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.001374/0.001374, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437.1 MB / 0.7177 GB, free: 4.523 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3298, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003532/0.3334, allocations: 2.026 MB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.3361, allocations: 1.659 MB / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.3361, allocations: 4 kB / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.483e-05/0.3363, allocations: 23.78 kB / 1.179 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.3364, allocations: 43.56 kB / 1.18 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.3375, allocations: 354.8 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.3377, allocations: 235 kB / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.3379, allocations: 45.47 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.338, allocations: 75.84 kB / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.3382, allocations: 91.66 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.3383, allocations: 16 kB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.3391, allocations: 423.5 kB / 1.181 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.3391, allocations: 35.91 kB / 1.181 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.3392, allocations: 83.66 kB / 1.181 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.3399, allocations: 434.6 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3399, allocations: 0 / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3399, allocations: 0 / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3399, allocations: 3.938 kB / 1.181 GB, free: 356 kB / 0.92 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.0009039/0.3408, allocations: 0.5218 MB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3409, allocations: 12.03 kB / 1.182 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005885/0.3415, allocations: 88.73 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3417, allocations: 180.2 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.645e-05/0.3418, allocations: 58.12 kB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.3418, allocations: 16.38 kB / 1.182 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.3422, allocations: 178.9 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3423, allocations: 3.938 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.3423, allocations: 7.984 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3423, allocations: 8 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.3428, allocations: 179.9 kB / 1.182 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.3442, allocations: 0.9149 MB / 1.183 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.3448, allocations: 174.5 kB / 1.183 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.345, allocations: 80.83 kB / 1.184 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/0.3457, allocations: 0.522 MB / 1.184 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3457, allocations: 38.56 kB / 1.184 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3457, allocations: 0 / 1.184 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0007439/0.3465, allocations: 241.2 kB / 1.184 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3465, allocations: 55.41 kB / 1.184 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3467, allocations: 160.5 kB / 1.185 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.3467, allocations: 25.7 kB / 1.185 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.305e-05/0.3468, allocations: 123.9 kB / 1.185 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.3469, allocations: 47.62 kB / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.347, allocations: 41.66 kB / 1.185 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3471, allocations: 322.8 kB / 1.185 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.3474, allocations: 79.97 kB / 1.185 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.3476, allocations: 93.66 kB / 1.185 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.348, allocations: 148.2 kB / 1.185 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.348, allocations: 7.938 kB / 1.185 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005148/0.3485, allocations: 209.5 kB / 1.186 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3486, allocations: 7.938 kB / 1.186 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3486, allocations: 0 / 1.186 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.3486, allocations: 4 kB / 1.186 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.3488, allocations: 43.91 kB / 1.186 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.3489, allocations: 3.984 kB / 1.186 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.3491, allocations: 27.89 kB / 1.186 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.3491, allocations: 11.94 kB / 1.186 GB, free: 11.34 MB / 0.9356 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.0001287/0.3492, allocations: 129.7 kB / 1.186 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3493, allocations: 15.91 kB / 1.186 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.3498, allocations: 198.4 kB / 1.186 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3498, allocations: 0 / 1.186 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3498, allocations: 0 / 1.186 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3498, allocations: 0 / 1.186 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.3514, allocations: 0.9779 MB / 1.187 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3514, allocations: 3.938 kB / 1.187 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.3516, allocations: 31.97 kB / 1.187 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3516, allocations: 0 / 1.187 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3516, allocations: 8 kB / 1.187 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3516, allocations: 0 / 1.187 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3516, allocations: 4.062 kB / 1.187 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.3522, allocations: 293 kB / 1.187 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.3522, allocations: 93.02 kB / 1.187 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.3523, allocations: 0 / 1.187 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.3525, allocations: 19.98 kB / 1.187 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3525, allocations: 11.92 kB / 1.187 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.3526, allocations: 7.984 kB / 1.187 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.301e-05/0.3527, allocations: 118.3 kB / 1.188 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3527, allocations: 0 / 1.188 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004728/0.3531, allocations: 139.5 kB / 1.188 GB, free: 9.105 MB / 0.9356 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.0004653/0.3536, allocations: 222.7 kB / 1.188 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005196/0.3541, allocations: 183.8 kB / 1.188 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3542, allocations: 0 / 1.188 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.3544, allocations: 79.91 kB / 1.188 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3548, allocations: 46.22 kB / 1.188 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.3555, allocations: 345.8 kB / 1.189 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3559, allocations: 0.7164 MB / 1.189 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.356, allocations: 23.38 kB / 1.189 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.356, allocations: 0 / 1.189 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of Templates: time 0.006668/0.3627, allocations: 3.875 MB / 1.193 GB, free: 3.594 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.889688046998344]