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.001414/0.001414, allocations: 87.58 kB / 20.45 MB, free: 4.102 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.001721/0.001721, allocations: 169 kB / 23.82 MB, free: 0.7344 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.9189/0.9189, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.72/1.72, allocations: 359 MB / 0.6052 GB, free: 11.01 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.503e-06/1.503e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.696e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002631/0.002658, allocations: 2.107 MB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.004433, allocations: 1.463 MB / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.004514, allocations: 0 / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.823e-05/0.004583, allocations: 23.78 kB / 0.7906 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.00469, allocations: 49.36 kB / 0.7906 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.005769, allocations: 348.1 kB / 0.791 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.006, allocations: 227 kB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.006141, allocations: 43.14 kB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.006276, allocations: 119.8 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.006398, allocations: 67.84 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.006426, allocations: 23.94 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006302/0.007056, allocations: 353.6 kB / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.007109, allocations: 39.89 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.886e-05/0.007188, allocations: 71.83 kB / 0.7919 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.007808, allocations: 398.8 kB / 0.7923 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.007812, allocations: 4.531 kB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/0.007813, allocations: 0.7188 kB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.007819, allocations: 0 / 0.7923 GB, free: 7.215 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.001004/0.008823, allocations: 0.5368 MB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.008867, allocations: 12.03 kB / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003541/0.009221, allocations: 87.39 kB / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.009335, allocations: 137 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.009429, allocations: 67.97 kB / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.009459, allocations: 21.73 kB / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.009747, allocations: 218 kB / 0.7933 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.009755, allocations: 1.844 kB / 0.7933 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.009774, allocations: 4.375 kB / 0.7933 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.009783, allocations: 8.125 kB / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.009905, allocations: 76.83 kB / 0.7934 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009299/0.01084, allocations: 0.5956 MB / 0.794 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007254/0.01156, allocations: 223.1 kB / 0.7942 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/0.01164, allocations: 43.67 kB / 0.7942 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.01186, allocations: 74.97 kB / 0.7943 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.01189, allocations: 37.39 kB / 0.7943 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.01189, allocations: 0 / 0.7943 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.000778/0.01267, allocations: 255.8 kB / 0.7946 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.0127, allocations: 59.41 kB / 0.7946 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.01282, allocations: 190 kB / 0.7948 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.01285, allocations: 26.27 kB / 0.7948 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.01293, allocations: 171 kB / 0.795 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.01296, allocations: 57.19 kB / 0.7951 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.01302, allocations: 39.36 kB / 0.7951 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.01314, allocations: 0.4884 MB / 0.7956 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/0.01321, allocations: 55.91 kB / 0.7956 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.764e-05/0.01328, allocations: 50.69 kB / 0.7957 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.01342, allocations: 100.5 kB / 0.7958 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01342, allocations: 0 / 0.7958 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003542/0.01378, allocations: 215 kB / 0.796 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01379, allocations: 5.562 kB / 0.796 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.0138, allocations: 4 kB / 0.796 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/0.01408, allocations: 81.89 kB / 0.7961 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/0.01462, allocations: 103.4 kB / 0.7962 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004447/0.01506, allocations: 0.8212 MB / 0.797 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.01515, allocations: 27.81 kB / 0.797 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.01516, allocations: 4.656 kB / 0.797 GB, free: 2.129 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 9.825e-05/0.01526, allocations: 165.3 kB / 0.7972 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.01529, allocations: 21 kB / 0.7972 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.01566, allocations: 203.6 kB / 0.7974 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01566, allocations: 7.938 kB / 0.7974 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01567, allocations: 0 / 0.7974 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01567, allocations: 0 / 0.7974 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.01645, allocations: 0.5937 MB / 0.798 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01645, allocations: 0 / 0.798 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.01695, allocations: 100 kB / 0.7981 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.01716, allocations: 80.61 kB / 0.7981 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01717, allocations: 0 / 0.7981 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003597/0.01753, allocations: 0.8273 MB / 0.7989 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01753, allocations: 0 / 0.7989 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.01789, allocations: 343.6 kB / 0.7993 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.01791, allocations: 7.953 kB / 0.7993 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.01793, allocations: 8 kB / 0.7993 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.01801, allocations: 11.92 kB / 0.7993 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.01805, allocations: 7.984 kB / 0.7993 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.01806, allocations: 8 kB / 0.7993 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003281/0.01839, allocations: 141.7 kB / 0.7994 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01839, allocations: 0 / 0.7994 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003433/0.01873, allocations: 135.5 kB / 0.7996 GB, free: 15.36 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.0003516/0.01908, allocations: 242.7 kB / 0.7998 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003687/0.01945, allocations: 158.9 kB / 0.8 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.01946, allocations: 0 / 0.8 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.01962, allocations: 96.05 kB / 0.8 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.01986, allocations: 44.09 kB / 0.8001 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.02062, allocations: 309.4 kB / 0.8004 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.02067, allocations: 75.62 kB / 0.8005 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.225e-05/0.02073, allocations: 15.41 kB / 0.8005 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.02078, allocations: 24.48 kB / 0.8005 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/0.02078, allocations: 0 / 0.8005 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of Templates: time 0.006883/0.02766, allocations: 4.991 MB / 0.8054 GB, free: 9.418 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: 5.037810614798218]