Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001347/0.001347, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001594/0.001594, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.8786/0.8786, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.697/1.697, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: 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_11_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_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.488e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002644/0.002659, allocations: 2.088 MB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.004279, allocations: 1.443 MB / 0.791 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.004328, allocations: 4 kB / 0.791 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.004368, allocations: 17.23 kB / 0.791 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.004442, allocations: 55.48 kB / 0.7911 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.005198, allocations: 344.7 kB / 0.7914 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.005385, allocations: 235.6 kB / 0.7916 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.92e-05/0.005474, allocations: 33.66 kB / 0.7917 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.005582, allocations: 128.4 kB / 0.7918 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.005679, allocations: 72.8 kB / 0.7919 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.0057, allocations: 20 kB / 0.7919 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004781/0.006179, allocations: 348.8 kB / 0.7922 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.006225, allocations: 47.81 kB / 0.7923 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.006279, allocations: 67.89 kB / 0.7923 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.00666, allocations: 396.6 kB / 0.7927 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006663, allocations: 3.984 kB / 0.7927 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.006663, allocations: 0 / 0.7927 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.006667, allocations: 0 / 0.7927 GB, free: 6.945 MB / 0.7448 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.0004808/0.007147, allocations: 0.5401 MB / 0.7932 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.007184, allocations: 8.031 kB / 0.7932 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.007496, allocations: 97.73 kB / 0.7933 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.651e-05/0.007573, allocations: 124.4 kB / 0.7934 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.007631, allocations: 79.91 kB / 0.7935 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.007651, allocations: 12.38 kB / 0.7935 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.007852, allocations: 202.1 kB / 0.7937 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.007859, allocations: 0.7188 kB / 0.7937 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.007873, allocations: 4.375 kB / 0.7937 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.007879, allocations: 8.844 kB / 0.7937 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.007959, allocations: 65.42 kB / 0.7938 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.008677, allocations: 0.5777 MB / 0.7944 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.009292, allocations: 201.5 kB / 0.7946 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.009347, allocations: 40.52 kB / 0.7946 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.009542, allocations: 77.58 kB / 0.7947 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.009568, allocations: 38.2 kB / 0.7947 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.00957, allocations: 0 / 0.7947 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0005894/0.01016, allocations: 249.5 kB / 0.7949 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.01018, allocations: 55.34 kB / 0.795 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.01028, allocations: 186.8 kB / 0.7952 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.01029, allocations: 29.7 kB / 0.7952 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.01035, allocations: 167 kB / 0.7954 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.01066, allocations: 55.52 kB / 0.7954 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.01071, allocations: 43.84 kB / 0.7955 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.01081, allocations: 0.4884 MB / 0.7959 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.792e-05/0.01086, allocations: 37.28 kB / 0.796 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.485e-05/0.0109, allocations: 39.97 kB / 0.796 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.011, allocations: 91.86 kB / 0.7961 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.011, allocations: 0 / 0.7961 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002953/0.0113, allocations: 192.7 kB / 0.7963 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.01131, allocations: 4 kB / 0.7963 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01131, allocations: 1.094 kB / 0.7963 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.01153, allocations: 87.09 kB / 0.7964 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.01201, allocations: 101.5 kB / 0.7965 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003467/0.01236, allocations: 0.8166 MB / 0.7973 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.01242, allocations: 15.88 kB / 0.7973 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.01244, allocations: 17 kB / 0.7973 GB, free: 2.008 MB / 0.7448 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 7.985e-05/0.01252, allocations: 164.6 kB / 0.7975 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.01255, allocations: 16.97 kB / 0.7975 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.01285, allocations: 196 kB / 0.7977 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.01285, allocations: 7.984 kB / 0.7977 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01286, allocations: 3.938 kB / 0.7977 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01286, allocations: 0 / 0.7977 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.01356, allocations: 0.5475 MB / 0.7982 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.01356, allocations: 4 kB / 0.7982 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.01405, allocations: 100 kB / 0.7983 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.01423, allocations: 85.3 kB / 0.7984 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.01424, allocations: 4 kB / 0.7984 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00032/0.01456, allocations: 0.8234 MB / 0.7992 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01456, allocations: 0 / 0.7992 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.01485, allocations: 334.6 kB / 0.7995 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.01486, allocations: 7.953 kB / 0.7995 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.01488, allocations: 4 kB / 0.7995 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.01495, allocations: 7.984 kB / 0.7995 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.01497, allocations: 15.92 kB / 0.7995 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01498, allocations: 4 kB / 0.7995 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.01503, allocations: 141.4 kB / 0.7997 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01503, allocations: 0 / 0.7997 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002874/0.01532, allocations: 135.5 kB / 0.7998 GB, free: 15.3 MB / 0.7605 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.0002841/0.0156, allocations: 253.3 kB / 0.8001 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.01587, allocations: 134.9 kB / 0.8002 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01587, allocations: 3.938 kB / 0.8002 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.01603, allocations: 88.09 kB / 0.8003 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.01623, allocations: 45.72 kB / 0.8003 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.0168, allocations: 311 kB / 0.8006 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.01683, allocations: 71.7 kB / 0.8007 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.764e-05/0.01689, allocations: 19.61 kB / 0.8007 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.017, allocations: 110.2 kB / 0.8008 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of SimCode: time 7.41e-07/0.017, allocations: 4 kB / 0.8008 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.006187/0.02318, allocations: 5.05 MB / 0.8057 GB, free: 9.227 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7187756998464465]