Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001467/0.001467, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001656/0.001656, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 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 2.942/2.942, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",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.00186/0.00186, allocations: 71.31 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2899, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003151/0.293, allocations: 2.075 MB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.2955, allocations: 1.676 MB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.2955, allocations: 0 / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.353e-05/0.2956, allocations: 23.84 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2957, allocations: 55.48 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009441/0.2967, allocations: 354.8 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.2969, allocations: 215.1 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.297, allocations: 47.44 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.992e-05/0.2971, allocations: 79.78 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2973, allocations: 95.66 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.2973, allocations: 16 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007325/0.298, allocations: 419.5 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.2981, allocations: 47.84 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.436e-05/0.2982, allocations: 87.64 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005516/0.2987, allocations: 426.7 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2987, allocations: 4 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2987, allocations: 0 / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2987, allocations: 4 kB / 1.358 GB, free: 2.859 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.0007737/0.2995, allocations: 457.2 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2995, allocations: 8.031 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.297e-05/0.2996, allocations: 50.73 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.3026, allocations: 320.4 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3027, allocations: 126.4 kB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.464e-05/0.3028, allocations: 71.97 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.3028, allocations: 16.38 kB / 1.359 GB, free: 1.754 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.3042, allocations: 341.5 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3042, allocations: 3.938 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.3042, allocations: 4 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3042, allocations: 4 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.3063, allocations: 375.6 kB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.3079, allocations: 0.8301 MB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/0.3124, allocations: 0.6501 MB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.3135, allocations: 197 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.038e-05/0.3136, allocations: 11.98 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.3136, allocations: 42.5 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.3136, allocations: 0 / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.004222/0.3178, allocations: 0.711 MB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3179, allocations: 55.41 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.318, allocations: 164.4 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.3181, allocations: 25.7 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.3181, allocations: 123.9 kB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.3182, allocations: 47.59 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.3183, allocations: 45.64 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3184, allocations: 330.8 kB / 1.363 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.3195, allocations: 195.8 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.3206, allocations: 207.8 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.3226, allocations: 346.3 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3226, allocations: 8 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002609/0.3253, allocations: 0.5037 MB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3253, allocations: 8 kB / 1.364 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3253, allocations: 0 / 1.364 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.3258, allocations: 116.8 kB / 1.364 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.3274, allocations: 159.8 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008245/0.3282, allocations: 0.6265 MB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/0.3289, allocations: 71.75 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.3289, allocations: 11.98 kB / 1.365 GB, free: 11.43 MB / 1.061 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.000151/0.329, allocations: 126.4 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.3291, allocations: 19.89 kB / 1.365 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/0.3318, allocations: 0.5226 MB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3318, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3318, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3318, allocations: 3.984 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/0.3365, allocations: 1.038 MB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3365, allocations: 4 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.338, allocations: 147.9 kB / 1.367 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004692/0.3385, allocations: 131.2 kB / 1.367 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.3385, allocations: 11.98 kB / 1.367 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007868/0.3393, allocations: 0.6342 MB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3393, allocations: 48 / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.3419, allocations: 0.5639 MB / 1.368 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.3419, allocations: 7.953 kB / 1.368 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.3419, allocations: 4 kB / 1.368 GB, free: 8.098 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.3426, allocations: 59.91 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.3426, allocations: 15.98 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.3427, allocations: 11.98 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.561e-05/0.3427, allocations: 121.6 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3427, allocations: 0 / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000525/0.3433, allocations: 127.6 kB / 1.369 GB, free: 7.77 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.00319/0.3465, allocations: 1.212 MB / 1.37 GB, free: 6.523 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002681/0.3491, allocations: 455.5 kB / 1.37 GB, free: 6.078 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3491, allocations: 0 / 1.37 GB, free: 6.078 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.3506, allocations: 235.6 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.351, allocations: 52.03 kB / 1.371 GB, free: 5.797 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00967/0.3606, allocations: 2.92 MB / 1.374 GB, free: 2.777 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.3611, allocations: 0.7124 MB / 1.374 GB, free: 2.039 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.3613, allocations: 51.86 kB / 1.374 GB, free: 1.988 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.3615, allocations: 51.39 kB / 1.374 GB, free: 1.938 MB / 1.061 GB Notification: Performance of SimCode: time 5.72e-07/0.3615, allocations: 0 / 1.374 GB, free: 1.938 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/0.4633, allocations: 8.365 MB / 1.382 GB, free: 9.746 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.26, allocations: 6.188 kB / 1.382 GB, free: 9.742 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.54983259201981]