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.001398/0.001398, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001578/0.001578, allocations: 218.4 kB / 23.04 MB, free: 5.074 MB / 14.72 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.317/1.317, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 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 2.871/2.871, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 70.62 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2747, allocations: 179 MB / 1.345 GB, free: 480 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003111/0.2778, allocations: 2.067 MB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.2801, allocations: 1.685 MB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.2802, allocations: 0 / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.741e-05/0.2803, allocations: 23.78 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.2804, allocations: 47.55 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009004/0.2813, allocations: 358.8 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.2815, allocations: 223.2 kB / 1.35 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2816, allocations: 41.66 kB / 1.35 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.2817, allocations: 87.72 kB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2819, allocations: 87.67 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.2819, allocations: 16 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.2826, allocations: 427.5 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.2827, allocations: 39.91 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.2827, allocations: 83.66 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.2833, allocations: 426.7 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2833, allocations: 0 / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2833, allocations: 0 / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2833, allocations: 0 / 1.351 GB, free: 10.87 MB / 1.045 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.0007463/0.284, allocations: 461.2 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2841, allocations: 8.031 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.242e-05/0.2841, allocations: 4.422 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.2841, allocations: 54.67 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/0.287, allocations: 328.4 kB / 1.352 GB, free: 9.992 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2871, allocations: 130.3 kB / 1.352 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.2872, allocations: 71.97 kB / 1.352 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.2872, allocations: 20.38 kB / 1.352 GB, free: 9.738 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.2886, allocations: 341.3 kB / 1.352 GB, free: 9.398 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2886, allocations: 0 / 1.352 GB, free: 9.398 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.2887, allocations: 4 kB / 1.352 GB, free: 9.395 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2887, allocations: 4 kB / 1.352 GB, free: 9.391 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.2908, allocations: 367.6 kB / 1.352 GB, free: 9.031 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.2924, allocations: 0.8338 MB / 1.353 GB, free: 8.148 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.2969, allocations: 0.6346 MB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.2981, allocations: 205 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.5e-05/0.2981, allocations: 11.98 kB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2982, allocations: 42.5 kB / 1.354 GB, free: 7.238 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.2982, allocations: 0 / 1.354 GB, free: 7.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.004261/0.3024, allocations: 0.7076 MB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.3025, allocations: 59.34 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3026, allocations: 164.4 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.3027, allocations: 25.7 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.3027, allocations: 123.9 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.3028, allocations: 51.56 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3029, allocations: 49.64 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.303, allocations: 322.8 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3042, allocations: 203.8 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.3053, allocations: 205.3 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.3074, allocations: 345.9 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3074, allocations: 0 / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002666/0.3101, allocations: 0.5058 MB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3101, allocations: 11.94 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3101, allocations: 0 / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/0.3106, allocations: 115 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.3122, allocations: 159.8 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008039/0.313, allocations: 0.6304 MB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.3137, allocations: 67.75 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.3137, allocations: 15.98 kB / 1.358 GB, free: 3.426 MB / 1.045 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.0001346/0.3138, allocations: 117.8 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.3139, allocations: 15.89 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/0.3166, allocations: 0.527 MB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3166, allocations: 0 / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.3166, allocations: 0 / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3166, allocations: 0 / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.3213, allocations: 1.045 MB / 1.359 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3213, allocations: 3.938 kB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.3229, allocations: 155.8 kB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.3233, allocations: 120.8 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.3234, allocations: 11.92 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007807/0.3242, allocations: 0.6265 MB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3242, allocations: 3.938 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.3267, allocations: 0.5617 MB / 1.361 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.3268, allocations: 11.95 kB / 1.361 GB, free: 112 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.3268, allocations: 4 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.3275, allocations: 55.92 kB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3275, allocations: 19.91 kB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.3275, allocations: 7.984 kB / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001014/0.3276, allocations: 121.5 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3276, allocations: 0 / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004669/0.3281, allocations: 131.6 kB / 1.361 GB, free: 15.78 MB / 1.061 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.003194/0.3313, allocations: 1.214 MB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002666/0.334, allocations: 456.6 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.334, allocations: 0 / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.3354, allocations: 233.5 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.3358, allocations: 47.3 kB / 1.363 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009598/0.3454, allocations: 2.966 MB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.3457, allocations: 0.7047 MB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002613/0.346, allocations: 55.92 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.3462, allocations: 51.39 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of SimCode: time 4.5e-07/0.3462, allocations: 0 / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.3759, allocations: 8.383 MB / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.19, allocations: 18.17 kB / 1.375 GB, free: 1.727 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 18.175791866029613]