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.00138/0.00138, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001561/0.001561, allocations: 212.7 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.309/1.309, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.895/2.895, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.00179/0.00179, allocations: 66.53 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2858, allocations: 179 MB / 1.345 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003047/0.2889, allocations: 2.071 MB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.2912, allocations: 1.682 MB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.2912, allocations: 0 / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.553e-05/0.2913, allocations: 19.8 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.724e-05/0.2914, allocations: 47.55 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008697/0.2923, allocations: 362.8 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.2925, allocations: 219.1 kB / 1.35 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2926, allocations: 41.67 kB / 1.35 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2927, allocations: 87.77 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.2929, allocations: 87.67 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2929, allocations: 16 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007354/0.2936, allocations: 427.4 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.2937, allocations: 43.89 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.189e-05/0.2937, allocations: 83.66 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.2943, allocations: 426.7 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2943, allocations: 4 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2943, allocations: 3.938 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2943, allocations: 0 / 1.351 GB, free: 10.91 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.000745/0.295, allocations: 461.2 kB / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2951, allocations: 8.031 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.271e-05/0.2951, allocations: 4.422 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.2951, allocations: 54.73 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/0.2981, allocations: 324.4 kB / 1.352 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.2982, allocations: 126.4 kB / 1.352 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.318e-05/0.2983, allocations: 75.95 kB / 1.352 GB, free: 9.797 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.2983, allocations: 20.38 kB / 1.352 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.2997, allocations: 337.3 kB / 1.352 GB, free: 9.441 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2997, allocations: 0 / 1.352 GB, free: 9.441 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.2997, allocations: 4 kB / 1.352 GB, free: 9.438 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2997, allocations: 4 kB / 1.352 GB, free: 9.434 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.3019, allocations: 371.6 kB / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.3034, allocations: 0.8299 MB / 1.353 GB, free: 8.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/0.3081, allocations: 0.6424 MB / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.3092, allocations: 205 kB / 1.354 GB, free: 7.336 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.52e-05/0.3093, allocations: 11.94 kB / 1.354 GB, free: 7.324 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3093, allocations: 50.42 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.3093, allocations: 0 / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.004252/0.3136, allocations: 0.7015 MB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3136, allocations: 59.34 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3138, allocations: 160.6 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.3138, allocations: 29.69 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.3139, allocations: 123.9 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.3139, allocations: 47.58 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.314, allocations: 49.64 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3142, allocations: 322.8 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.3153, allocations: 203.8 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.3165, allocations: 199.8 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.3185, allocations: 346.1 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3185, allocations: 3.938 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002692/0.3212, allocations: 0.5117 MB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3213, allocations: 4 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3213, allocations: 4 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005251/0.3218, allocations: 118 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.3234, allocations: 159.8 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000812/0.3242, allocations: 0.6265 MB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006253/0.3249, allocations: 67.72 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.3249, allocations: 15.98 kB / 1.358 GB, free: 3.465 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.0001322/0.325, allocations: 118.5 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.3251, allocations: 19.88 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/0.3278, allocations: 0.5268 MB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3278, allocations: 0 / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3279, allocations: 0 / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3279, allocations: 3.984 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/0.3325, allocations: 1.042 MB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3325, allocations: 0 / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.3341, allocations: 147.9 kB / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/0.3346, allocations: 124.7 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.3346, allocations: 11.92 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007765/0.3354, allocations: 0.6343 MB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3354, allocations: 0 / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.338, allocations: 0.5637 MB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.338, allocations: 11.95 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.3381, allocations: 7.984 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006498/0.3387, allocations: 55.92 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.3388, allocations: 8.266 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.3388, allocations: 15.98 kB / 1.361 GB, free: 60 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001067/0.3389, allocations: 121.6 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3389, allocations: 0 / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004403/0.3393, allocations: 127.6 kB / 1.361 GB, free: 15.82 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.003236/0.3426, allocations: 1.218 MB / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00269/0.3453, allocations: 459.3 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3453, allocations: 0 / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.3467, allocations: 231.7 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.3471, allocations: 44.03 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009492/0.3566, allocations: 2.939 MB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3569, allocations: 0.7086 MB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002634/0.3572, allocations: 49.48 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.3574, allocations: 51.39 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.3574, allocations: 0 / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.387, allocations: 8.374 MB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.12, allocations: 14.23 kB / 1.375 GB, free: 1.773 MB / 1.061 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.17570057901321]