Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001417/0.001417, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001645/0.001645, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 3.277/3.277, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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_ZeroInput,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_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.396e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003926/0.00396, allocations: 1.996 MB / 0.8795 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003004/0.006964, allocations: 1.51 MB / 0.881 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.007044, allocations: 1.125 kB / 0.881 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.287e-05/0.007117, allocations: 19.78 kB / 0.881 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.007272, allocations: 57.08 kB / 0.8811 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.00871, allocations: 360.8 kB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000332/0.009042, allocations: 235 kB / 0.8817 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.009184, allocations: 37.66 kB / 0.8817 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.009416, allocations: 119.8 kB / 0.8818 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.009573, allocations: 77.98 kB / 0.8819 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.009611, allocations: 16 kB / 0.8819 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009448/0.01056, allocations: 399.4 kB / 0.8823 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.01062, allocations: 47.81 kB / 0.8823 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.01072, allocations: 64.61 kB / 0.8824 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008513/0.01157, allocations: 486.5 kB / 0.8829 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01157, allocations: 1.656 kB / 0.8829 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01158, allocations: 4 kB / 0.8829 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.01158, allocations: 0 / 0.8829 GB, free: 1.109 MB / 0.8386 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.001073/0.01266, allocations: 450.5 kB / 0.8833 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.0127, allocations: 12.03 kB / 0.8833 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003537/0.01624, allocations: 336.4 kB / 0.8836 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.01639, allocations: 133.5 kB / 0.8837 GB, free: 140 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.01651, allocations: 67.97 kB / 0.8838 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.01656, allocations: 12.38 kB / 0.8838 GB, free: 48 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.01829, allocations: 398 kB / 0.8842 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.0183, allocations: 4.172 kB / 0.8842 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.01834, allocations: 4.375 kB / 0.8842 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.01836, allocations: 12.12 kB / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/0.02131, allocations: 368.2 kB / 0.8846 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.02393, allocations: 0.7147 MB / 0.8853 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007033/0.03096, allocations: 0.6423 MB / 0.8859 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.03267, allocations: 200.7 kB / 0.8861 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.03285, allocations: 19.98 kB / 0.8861 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.03289, allocations: 30.56 kB / 0.8861 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.407e-06/0.0329, allocations: 0 / 0.8861 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.006668/0.03956, allocations: 0.716 MB / 0.8868 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.03963, allocations: 55.69 kB / 0.8869 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.03983, allocations: 126 kB / 0.887 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.0399, allocations: 33.7 kB / 0.887 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.04006, allocations: 120.3 kB / 0.8872 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.04017, allocations: 51.58 kB / 0.8872 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.04036, allocations: 53.62 kB / 0.8873 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.04058, allocations: 318.8 kB / 0.8876 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.04225, allocations: 199.8 kB / 0.8878 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.04399, allocations: 210 kB / 0.888 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.04724, allocations: 348.5 kB / 0.8883 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.04725, allocations: 0 / 0.8883 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.004229/0.05148, allocations: 0.5112 MB / 0.8888 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.0515, allocations: 4 kB / 0.8888 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.05151, allocations: 3.938 kB / 0.8888 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008765/0.05239, allocations: 131.2 kB / 0.8889 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/0.05489, allocations: 151.8 kB / 0.8891 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.05628, allocations: 0.6265 MB / 0.8897 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.05732, allocations: 71.8 kB / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.05737, allocations: 7.984 kB / 0.8898 GB, free: 9.812 MB / 0.8542 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.0002507/0.05762, allocations: 129.8 kB / 0.8899 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.05777, allocations: 15.95 kB / 0.8899 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/0.06225, allocations: 0.5249 MB / 0.8904 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.06226, allocations: 3.938 kB / 0.8904 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.06227, allocations: 144 / 0.8904 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.06228, allocations: 3.984 kB / 0.8904 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007238/0.06952, allocations: 0.9711 MB / 0.8914 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.06953, allocations: 0 / 0.8914 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/0.07199, allocations: 151.8 kB / 0.8915 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008448/0.07283, allocations: 124.7 kB / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.07288, allocations: 4 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.07425, allocations: 0.6265 MB / 0.8922 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.07425, allocations: 0 / 0.8922 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/0.07855, allocations: 0.564 MB / 0.8928 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.07861, allocations: 11.89 kB / 0.8928 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.07868, allocations: 4 kB / 0.8928 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.0798, allocations: 59.86 kB / 0.8929 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.07986, allocations: 15.91 kB / 0.8929 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.07992, allocations: 15.98 kB / 0.8929 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001136/0.08003, allocations: 102 kB / 0.893 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/0.08003, allocations: 0 / 0.893 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008474/0.08088, allocations: 131.6 kB / 0.8931 GB, free: 6.254 MB / 0.8542 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.0007768/0.08165, allocations: 234.8 kB / 0.8933 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004206/0.08586, allocations: 450.8 kB / 0.8938 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.08586, allocations: 4 kB / 0.8938 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.08755, allocations: 236.2 kB / 0.894 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.08802, allocations: 47.97 kB / 0.894 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.09056, allocations: 0.4979 MB / 0.8945 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.09067, allocations: 95.03 kB / 0.8946 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002844/0.09096, allocations: 47.52 kB / 0.8947 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.09113, allocations: 28.47 kB / 0.8947 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of SimCode: time 6.52e-07/0.09114, allocations: 0 / 0.8947 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of Templates: time 0.01372/0.1049, allocations: 6.138 MB / 0.9007 GB, free: 14.55 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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: 8.72963909409009]