Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001484, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 192.6 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6813/0.6826, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003246/0.6858, allocations: 2.092 MB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.6882, allocations: 1.652 MB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.6883, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.752e-05/0.6883, allocations: 15.91 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.655e-05/0.6885, allocations: 39.62 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/0.6894, allocations: 311.2 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.6896, allocations: 227.1 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.6898, allocations: 49.47 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.6899, allocations: 75.78 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.6901, allocations: 87.72 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.6901, allocations: 20 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006986/0.6908, allocations: 415.5 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.6909, allocations: 47.83 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.691, allocations: 91.64 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.6915, allocations: 425.2 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6915, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6915, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6915, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 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.0008242/0.6923, allocations: 0.5147 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.6924, allocations: 11.97 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.6925, allocations: 50.73 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/0.693, allocations: 92.64 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.6932, allocations: 180.1 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.015e-05/0.6933, allocations: 50.25 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.6933, allocations: 16.38 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.6937, allocations: 179.1 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.6937, allocations: 3.938 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.6938, allocations: 12 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.6938, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.6942, allocations: 179.8 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.6955, allocations: 0.9229 MB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.696, allocations: 174.5 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.6962, allocations: 76.83 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.6969, allocations: 0.5142 MB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.6969, allocations: 38.56 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.6969, allocations: 0 / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0006814/0.6976, allocations: 233.8 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.6977, allocations: 59.34 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.6978, allocations: 158.4 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.6978, allocations: 33.7 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.6979, allocations: 111.8 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.698, allocations: 59.28 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.6981, allocations: 37.7 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6982, allocations: 322.8 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.6984, allocations: 71.95 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.6986, allocations: 99.66 kB / 1.026 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.6989, allocations: 155.1 kB / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.699, allocations: 0 / 1.027 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004652/0.6994, allocations: 211 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6995, allocations: 5.562 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6995, allocations: 0 / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6995, allocations: 8.031 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.6997, allocations: 39.91 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6997, allocations: 0 / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.6999, allocations: 27.73 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.7, allocations: 7.984 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.7001, allocations: 125.8 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.7001, allocations: 11.91 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.7006, allocations: 200.1 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.7006, allocations: 0 / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.7006, allocations: 0 / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7006, allocations: 0 / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.702, allocations: 0.9855 MB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.702, allocations: 4 kB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.7022, allocations: 35.97 kB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7022, allocations: 0 / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.7023, allocations: 8 kB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7023, allocations: 0 / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7023, allocations: 8 kB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.7028, allocations: 297 kB / 1.028 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.7028, allocations: 89 kB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.7029, allocations: 0 / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.7031, allocations: 15.98 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.7031, allocations: 19.86 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.7031, allocations: 4 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.157e-05/0.7032, allocations: 126.5 kB / 1.029 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7032, allocations: 0 / 1.029 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004322/0.7037, allocations: 127.9 kB / 1.029 GB, free: 5.855 MB / 0.7794 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.7047, allocations: 0.9489 MB / 1.03 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.7052, allocations: 183.8 kB / 1.03 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.7052, allocations: 0 / 1.03 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.7054, allocations: 83.89 kB / 1.03 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.7058, allocations: 48.09 kB / 1.03 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.7085, allocations: 2.093 MB / 1.032 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.7087, allocations: 0.7125 MB / 1.033 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.7089, allocations: 28.66 kB / 1.033 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.709, allocations: 43.42 kB / 1.033 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.709, allocations: 0 / 1.033 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.7267, allocations: 5.904 MB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.7269, allocations: 234.3 kB / 1.039 GB, free: 11.62 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.696, allocations: 0 / 1.039 GB, free: 11.62 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches