Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001307/0.001308, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.009062/0.009062, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003882, allocations: 8 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.6997, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002485/0.7022, allocations: 1.734 MB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.7051, allocations: 1.73 MB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.7053, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.75e-05/0.7053, allocations: 11.92 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.7055, allocations: 43.61 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.7066, allocations: 293 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.7069, allocations: 211.1 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.7071, allocations: 37.47 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.7072, allocations: 67.78 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.7074, allocations: 87.72 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.7075, allocations: 12 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008956/0.7084, allocations: 379.5 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.7084, allocations: 35.84 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.7085, allocations: 109.3 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.7093, allocations: 425.1 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7093, allocations: 3.938 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7093, allocations: 0 / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.7094, allocations: 4 kB / 1.028 GB, free: 10.65 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.0008579/0.7102, allocations: 491.1 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7103, allocations: 15.97 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.435e-05/0.7104, allocations: 46.73 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006245/0.711, allocations: 104.7 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.7111, allocations: 176.2 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.7113, allocations: 50.25 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.7113, allocations: 12.38 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.7118, allocations: 186.8 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7118, allocations: 0 / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.7118, allocations: 11.98 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.7118, allocations: 7.938 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.7123, allocations: 191.8 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.7138, allocations: 0.915 MB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.7144, allocations: 186.5 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.7146, allocations: 80.83 kB / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/0.7153, allocations: 0.5259 MB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.7153, allocations: 30.56 kB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.7153, allocations: 0 / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007511/0.7161, allocations: 249.8 kB / 1.031 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.7161, allocations: 55.41 kB / 1.031 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.7163, allocations: 157.5 kB / 1.032 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.7163, allocations: 33.7 kB / 1.032 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.7164, allocations: 115.8 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.7164, allocations: 47.3 kB / 1.032 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.7165, allocations: 29.7 kB / 1.032 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7166, allocations: 322.8 kB / 1.032 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.7168, allocations: 75.95 kB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.7171, allocations: 99.16 kB / 1.032 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.7175, allocations: 162.9 kB / 1.032 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7175, allocations: 0 / 1.032 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005476/0.718, allocations: 223.3 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7181, allocations: 8 kB / 1.033 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7181, allocations: 3.984 kB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7181, allocations: 0 / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.7184, allocations: 43.86 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.7184, allocations: 7.969 kB / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.7186, allocations: 31.86 kB / 1.033 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.7186, allocations: 4 kB / 1.033 GB, free: 5.582 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.0001205/0.7187, allocations: 121.8 kB / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.7188, allocations: 15.81 kB / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005458/0.7193, allocations: 208.4 kB / 1.033 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.7194, allocations: 4 kB / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7194, allocations: 0 / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7194, allocations: 0 / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.7208, allocations: 0.9973 MB / 1.034 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7208, allocations: 3.984 kB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.721, allocations: 31.92 kB / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.7211, allocations: 0 / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.7211, allocations: 8 kB / 1.034 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7211, allocations: 3.984 kB / 1.034 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7211, allocations: 0 / 1.034 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.7216, allocations: 297.1 kB / 1.034 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.7217, allocations: 88.92 kB / 1.034 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.7217, allocations: 15.97 kB / 1.034 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.722, allocations: 15.98 kB / 1.034 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.722, allocations: 23.86 kB / 1.034 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.722, allocations: 4 kB / 1.034 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.601e-05/0.7221, allocations: 115.2 kB / 1.035 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7221, allocations: 0 / 1.035 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004537/0.7226, allocations: 127.9 kB / 1.035 GB, free: 3.312 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.001149/0.7238, allocations: 0.9589 MB / 1.036 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000509/0.7243, allocations: 187.8 kB / 1.036 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7243, allocations: 0 / 1.036 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.7245, allocations: 87.95 kB / 1.036 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.725, allocations: 52.78 kB / 1.036 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.728, allocations: 2.149 MB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.7283, allocations: 0.7128 MB / 1.039 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.7284, allocations: 28.67 kB / 1.039 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.7286, allocations: 43.42 kB / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.7286, allocations: 3.938 kB / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.7467, allocations: 5.691 MB / 1.044 GB, free: 9.484 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/0.747, allocations: 247.4 kB / 1.045 GB, free: 9.223 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.709, allocations: 0 / 1.045 GB, free: 9.223 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches