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.001481/0.001481, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001603/0.001603, allocations: 217 kB / 22.25 MB, free: 5.082 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 8.016 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_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001859/0.001859, allocations: 66.06 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2847, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003/0.2877, allocations: 2.073 MB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.2899, allocations: 1.686 MB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.29, allocations: 0 / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.855e-05/0.29, allocations: 23.78 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.129e-05/0.2901, allocations: 47.55 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/0.2909, allocations: 361.8 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.2912, allocations: 215.2 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2913, allocations: 43.61 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.2914, allocations: 83.7 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.2915, allocations: 87.73 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.2915, allocations: 16 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.2922, allocations: 427.4 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.2923, allocations: 47.89 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.185e-05/0.2923, allocations: 83.66 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.2929, allocations: 426.7 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2929, allocations: 0 / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2929, allocations: 4 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2929, allocations: 0 / 1.358 GB, free: 2.871 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.0007437/0.2936, allocations: 461.2 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2937, allocations: 8.031 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.2937, allocations: 42.75 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/0.2967, allocations: 328.4 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.2968, allocations: 126.3 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.2969, allocations: 71.97 kB / 1.359 GB, free: 1.777 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.2969, allocations: 16.38 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.2983, allocations: 349.4 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2983, allocations: 0 / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.2984, allocations: 4 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.2984, allocations: 4 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.3005, allocations: 371.6 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.302, allocations: 0.834 MB / 1.361 GB, free: 168 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/0.3065, allocations: 0.6463 MB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.3076, allocations: 200.9 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-05/0.3077, allocations: 12 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3077, allocations: 42.5 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.3077, allocations: 0 / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.004256/0.312, allocations: 0.709 MB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.312, allocations: 55.41 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3122, allocations: 158 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.3122, allocations: 25.7 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.3123, allocations: 127.8 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.3123, allocations: 51.5 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-05/0.3124, allocations: 49.64 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3126, allocations: 330.8 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.3137, allocations: 195.8 kB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.3148, allocations: 203.8 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.3169, allocations: 350.2 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3169, allocations: 0 / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002653/0.3196, allocations: 0.508 MB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3196, allocations: 8 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3196, allocations: 0 / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.3201, allocations: 119.1 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.3217, allocations: 159.8 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007764/0.3225, allocations: 0.6265 MB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.3231, allocations: 71.75 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.3231, allocations: 11.98 kB / 1.365 GB, free: 11.44 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.0001287/0.3233, allocations: 129.7 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.3233, allocations: 15.89 kB / 1.365 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/0.326, allocations: 0.5277 MB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.326, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.326, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3261, allocations: 3.984 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.3307, allocations: 1.034 MB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3307, allocations: 0 / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.3322, allocations: 151.8 kB / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.3327, allocations: 135.4 kB / 1.367 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.3327, allocations: 4 kB / 1.367 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007838/0.3335, allocations: 0.6303 MB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3335, allocations: 4 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.3361, allocations: 0.5656 MB / 1.368 GB, free: 8.121 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.3361, allocations: 7.953 kB / 1.368 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.3362, allocations: 4 kB / 1.368 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006709/0.3368, allocations: 59.91 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.3369, allocations: 11.98 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.3369, allocations: 11.98 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.155e-05/0.337, allocations: 119.2 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.337, allocations: 0 / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004458/0.3374, allocations: 131.6 kB / 1.369 GB, free: 7.781 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.003197/0.3406, allocations: 1.214 MB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002604/0.3432, allocations: 443.5 kB / 1.37 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3432, allocations: 0 / 1.37 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.3446, allocations: 240.1 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.345, allocations: 51.89 kB / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009498/0.3545, allocations: 2.96 MB / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3549, allocations: 0.7163 MB / 1.374 GB, free: 2.012 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002549/0.3551, allocations: 43.98 kB / 1.374 GB, free: 1.969 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.3553, allocations: 59.33 kB / 1.374 GB, free: 1.91 MB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/0.3553, allocations: 0 / 1.374 GB, free: 1.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0359/0.3912, allocations: 8.357 MB / 1.383 GB, free: 9.75 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.27, allocations: 9.219 kB / 1.383 GB, free: 9.742 MB / 1.076 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.435991106089205]