Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.0009903/0.0009903, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009801/0.0009801, allocations: 169 kB / 24.28 MB, free: 276 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.9402/0.9402, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.769/1.769, allocations: 359 MB / 0.6055 GB, free: 10.99 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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.347e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003808/0.003841, allocations: 2.096 MB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002597/0.006438, allocations: 1.651 MB / 0.7907 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.343e-05/0.006532, allocations: 0 / 0.7907 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.006685, allocations: 23.78 kB / 0.7908 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.00682, allocations: 53.3 kB / 0.7908 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.007918, allocations: 368.9 kB / 0.7912 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.008099, allocations: 231 kB / 0.7914 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.008224, allocations: 33.66 kB / 0.7914 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.008341, allocations: 123.8 kB / 0.7915 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.008452, allocations: 72.27 kB / 0.7916 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.008478, allocations: 20.72 kB / 0.7916 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.008995, allocations: 409.6 kB / 0.792 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.009028, allocations: 39.83 kB / 0.7921 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.009087, allocations: 71.88 kB / 0.7921 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.009542, allocations: 422.6 kB / 0.7925 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.009546, allocations: 0 / 0.7925 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.914e-06/0.009547, allocations: 4.531 kB / 0.7925 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.009552, allocations: 1.312 kB / 0.7925 GB, free: 7.238 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.0005904/0.01014, allocations: 0.5436 MB / 0.7931 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.01018, allocations: 8.031 kB / 0.7931 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.01053, allocations: 99.88 kB / 0.7932 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.01062, allocations: 120.5 kB / 0.7933 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.833e-05/0.01071, allocations: 84.77 kB / 0.7934 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.01074, allocations: 12.38 kB / 0.7934 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.01101, allocations: 215.7 kB / 0.7936 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.01102, allocations: 192 / 0.7936 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.01104, allocations: 8.375 kB / 0.7936 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.01105, allocations: 8.125 kB / 0.7936 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.01117, allocations: 81.67 kB / 0.7937 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.01207, allocations: 0.598 MB / 0.7943 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.01279, allocations: 217.3 kB / 0.7945 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.01286, allocations: 51.67 kB / 0.7945 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.01306, allocations: 66.14 kB / 0.7946 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.01309, allocations: 37.39 kB / 0.7946 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.01309, allocations: 0 / 0.7946 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0006969/0.01379, allocations: 260.4 kB / 0.7949 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.01381, allocations: 52.69 kB / 0.7949 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.01391, allocations: 191.9 kB / 0.7951 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.01393, allocations: 29.7 kB / 0.7951 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.014, allocations: 175 kB / 0.7953 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.01403, allocations: 52.11 kB / 0.7953 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.01408, allocations: 46.17 kB / 0.7954 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01419, allocations: 0.4884 MB / 0.7959 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.01426, allocations: 47.97 kB / 0.7959 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.01433, allocations: 47.97 kB / 0.796 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.01448, allocations: 105.5 kB / 0.7961 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01448, allocations: 0 / 0.7961 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003402/0.01482, allocations: 207.6 kB / 0.7963 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.01483, allocations: 8 kB / 0.7963 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01484, allocations: 0 / 0.7963 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.01511, allocations: 82.73 kB / 0.7963 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.01565, allocations: 107.5 kB / 0.7964 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003886/0.01604, allocations: 0.8177 MB / 0.7972 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.01611, allocations: 23.81 kB / 0.7973 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.01612, allocations: 4 kB / 0.7973 GB, free: 2.148 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.049e-05/0.01621, allocations: 165.2 kB / 0.7974 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.01624, allocations: 20.56 kB / 0.7974 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.01661, allocations: 206.2 kB / 0.7976 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01661, allocations: 3.938 kB / 0.7976 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01662, allocations: 0 / 0.7976 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01662, allocations: 0 / 0.7976 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.01739, allocations: 0.5911 MB / 0.7982 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01739, allocations: 0 / 0.7982 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/0.01791, allocations: 95.97 kB / 0.7983 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002005/0.01811, allocations: 86.23 kB / 0.7984 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.01812, allocations: 4 kB / 0.7984 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000358/0.01848, allocations: 0.8234 MB / 0.7992 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.01848, allocations: 3.938 kB / 0.7992 GB, free: 60 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.01882, allocations: 342.7 kB / 0.7995 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.01883, allocations: 7.953 kB / 0.7995 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.01885, allocations: 0 / 0.7995 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.01894, allocations: 19.92 kB / 0.7996 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.01897, allocations: 11.92 kB / 0.7996 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.01898, allocations: 7.984 kB / 0.7996 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.01903, allocations: 139.2 kB / 0.7997 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.01903, allocations: 0 / 0.7997 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002835/0.01931, allocations: 143.5 kB / 0.7999 GB, free: 15.37 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.0003217/0.01963, allocations: 241 kB / 0.8001 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.01998, allocations: 155.9 kB / 0.8002 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01998, allocations: 0 / 0.8002 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.02017, allocations: 100 kB / 0.8003 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.02041, allocations: 42.11 kB / 0.8004 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.02118, allocations: 330.2 kB / 0.8007 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.513e-05/0.02122, allocations: 71.7 kB / 0.8007 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.803e-05/0.02129, allocations: 16.14 kB / 0.8008 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.02133, allocations: 20.5 kB / 0.8008 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of SimCode: time 8.02e-07/0.02133, allocations: 0 / 0.8008 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of Templates: time 0.006526/0.02785, allocations: 4.522 MB / 0.8052 GB, free: 9.902 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.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.106951582012698]