Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008066/0.0008066, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008627/0.0008627, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8626/0.8626, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 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 1.709/1.709, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: 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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.775e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002355/0.002383, allocations: 1.989 MB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.004178, allocations: 1.507 MB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.004231, allocations: 4 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.119e-05/0.004282, allocations: 23.72 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.587e-05/0.004358, allocations: 47.55 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000756/0.005114, allocations: 365.3 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.005278, allocations: 231 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.005413, allocations: 41.64 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.005534, allocations: 127.8 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.908e-05/0.005633, allocations: 71.77 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.005657, allocations: 16 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004906/0.006148, allocations: 415.3 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.006182, allocations: 39.89 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.006231, allocations: 63.89 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.006679, allocations: 478.7 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.006682, allocations: 0 / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.513e-06/0.006684, allocations: 0 / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.006688, allocations: 4 kB / 1.006 GB, free: 7.602 MB / 0.9636 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.0005725/0.007261, allocations: 459.6 kB / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.007297, allocations: 12.75 kB / 1.007 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.008664, allocations: 328.3 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.476e-05/0.008758, allocations: 117.6 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.424e-05/0.008843, allocations: 79.95 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.008874, allocations: 12.38 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/0.009619, allocations: 382.8 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.009628, allocations: 4.188 kB / 1.007 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.009653, allocations: 8.375 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.009661, allocations: 8.125 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.01068, allocations: 368.2 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.01174, allocations: 0.726 MB / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.01388, allocations: 0.6424 MB / 1.009 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.01442, allocations: 203.5 kB / 1.009 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-05/0.01451, allocations: 15.92 kB / 1.009 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.01453, allocations: 38.56 kB / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/0.01453, allocations: 0 / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.002175/0.01671, allocations: 0.7128 MB / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.01674, allocations: 55.41 kB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.01682, allocations: 124.9 kB / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.01685, allocations: 33.7 kB / 1.01 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.01691, allocations: 124.3 kB / 1.01 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.01694, allocations: 47.59 kB / 1.01 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.01702, allocations: 41.69 kB / 1.011 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.01709, allocations: 322.8 kB / 1.011 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.01778, allocations: 199.8 kB / 1.011 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.0183, allocations: 211.7 kB / 1.011 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/0.01927, allocations: 354.6 kB / 1.012 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01927, allocations: 0 / 1.012 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001271/0.02054, allocations: 0.5018 MB / 1.012 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.02056, allocations: 8 kB / 1.012 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.02056, allocations: 0 / 1.012 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.02093, allocations: 136.6 kB / 1.012 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.02166, allocations: 151.9 kB / 1.012 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004697/0.02213, allocations: 0.6226 MB / 1.013 GB, free: 408 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.02241, allocations: 67.86 kB / 1.013 GB, free: 340 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.02243, allocations: 7.938 kB / 1.013 GB, free: 332 kB / 0.9636 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 (17): * 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: 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.02253, allocations: 133.8 kB / 1.013 GB, free: 188 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.02257, allocations: 7.953 kB / 1.013 GB, free: 180 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.02399, allocations: 0.5206 MB / 1.014 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.024, allocations: 3.938 kB / 1.014 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.02401, allocations: 4 kB / 1.014 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.02401, allocations: 3.984 kB / 1.014 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.02637, allocations: 0.964 MB / 1.015 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.02637, allocations: 0 / 1.015 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/0.0271, allocations: 151.8 kB / 1.015 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003414/0.02744, allocations: 120.8 kB / 1.015 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.02746, allocations: 15.98 kB / 1.015 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000478/0.02794, allocations: 0.6265 MB / 1.016 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02794, allocations: 0 / 1.016 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.02928, allocations: 0.5509 MB / 1.016 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.0293, allocations: 11.89 kB / 1.016 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.02934, allocations: 8 kB / 1.016 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.02964, allocations: 63.86 kB / 1.016 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.02967, allocations: 20.19 kB / 1.016 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.02969, allocations: 4 kB / 1.016 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.02974, allocations: 103.1 kB / 1.016 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02974, allocations: 0 / 1.016 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000432/0.03017, allocations: 139.5 kB / 1.016 GB, free: 12.77 MB / 0.9792 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 (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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004133/0.03059, allocations: 226.8 kB / 1.017 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.032, allocations: 459.5 kB / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.032, allocations: 0 / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006969/0.0327, allocations: 235.7 kB / 1.017 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.03305, allocations: 32.09 kB / 1.017 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.03434, allocations: 0.4935 MB / 1.018 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.0346, allocations: 90.78 kB / 1.018 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.03472, allocations: 28.47 kB / 1.018 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of SimCode: time 1.723e-06/0.03472, allocations: 0 / 1.018 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of Templates: time 0.005755/0.04047, allocations: 4.96 MB / 1.023 GB, free: 6.223 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.819200376048684]