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.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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001857, allocations: 182.5 kB / 16.92 MB, free: 6.922 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.5/1.5, allocations: 223.3 MB / 241 MB, free: 5.355 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.624/2.624, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.000394, allocations: 19.94 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7156/0.716, allocations: 153.8 MB / 1.024 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002166/0.7182, allocations: 1.741 MB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.7206, allocations: 1.714 MB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.7207, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.7208, allocations: 15.91 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.7209, allocations: 43.61 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.7217, allocations: 295.2 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.7219, allocations: 215.1 kB / 1.028 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.7221, allocations: 37.45 kB / 1.028 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.7222, allocations: 67.84 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.7223, allocations: 87.61 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.7224, allocations: 8 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006703/0.723, allocations: 391.5 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.7231, allocations: 35.84 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.7232, allocations: 105.3 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.7235, allocations: 313.2 kB / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.7236, allocations: 0 / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7236, allocations: 0 / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7236, allocations: 0 / 1.029 GB, free: 10.88 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.00075/0.7243, allocations: 0.4952 MB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.7244, allocations: 8.031 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/0.725, allocations: 104.6 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.7251, allocations: 172.3 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.7252, allocations: 50.25 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.7252, allocations: 16.38 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.7257, allocations: 178.1 kB / 1.03 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7257, allocations: 3.938 kB / 1.03 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.7257, allocations: 8 kB / 1.03 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7257, allocations: 4 kB / 1.03 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.7262, allocations: 196.9 kB / 1.03 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.7275, allocations: 0.915 MB / 1.031 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.728, allocations: 182.5 kB / 1.031 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.7282, allocations: 80.83 kB / 1.031 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/0.7289, allocations: 0.522 MB / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.7289, allocations: 38.56 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.7289, allocations: 0 / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007104/0.7296, allocations: 249.7 kB / 1.032 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.7297, allocations: 55.41 kB / 1.032 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.7298, allocations: 164.9 kB / 1.032 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.7299, allocations: 25.7 kB / 1.032 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.7299, allocations: 115.8 kB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.73, allocations: 51.3 kB / 1.032 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.73, allocations: 21.7 kB / 1.032 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7302, allocations: 322.8 kB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.7304, allocations: 83.95 kB / 1.033 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.7306, allocations: 99.16 kB / 1.033 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.731, allocations: 155.3 kB / 1.033 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.731, allocations: 3.938 kB / 1.033 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004853/0.7315, allocations: 229.4 kB / 1.033 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.7315, allocations: 4 kB / 1.033 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7315, allocations: 0 / 1.033 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7315, allocations: 0 / 1.033 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.7318, allocations: 43.91 kB / 1.033 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7318, allocations: 0 / 1.033 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.732, allocations: 31.83 kB / 1.033 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.732, allocations: 7.938 kB / 1.033 GB, free: 5.867 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.0001136/0.7321, allocations: 130.3 kB / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.7322, allocations: 11.81 kB / 1.033 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.7327, allocations: 214.1 kB / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.7327, allocations: 4 kB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7327, allocations: 0 / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7327, allocations: 0 / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.7341, allocations: 0.9934 MB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.7342, allocations: 4 kB / 1.034 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.7344, allocations: 32.05 kB / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.7344, allocations: 0 / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.7344, allocations: 7.984 kB / 1.034 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7344, allocations: 0 / 1.034 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7344, allocations: 3.938 kB / 1.034 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.7349, allocations: 297 kB / 1.035 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.735, allocations: 96.91 kB / 1.035 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.735, allocations: 0 / 1.035 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.7352, allocations: 23.98 kB / 1.035 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.7353, allocations: 11.92 kB / 1.035 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.7353, allocations: 4 kB / 1.035 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.96e-05/0.7354, allocations: 119.2 kB / 1.035 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7354, allocations: 0 / 1.035 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004594/0.7358, allocations: 127.9 kB / 1.035 GB, free: 3.602 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.0004434/0.7363, allocations: 238.9 kB / 1.035 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004936/0.7368, allocations: 185.7 kB / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7368, allocations: 0 / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.737, allocations: 83.91 kB / 1.036 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.7375, allocations: 58.89 kB / 1.036 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/0.7382, allocations: 415.2 kB / 1.036 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.7384, allocations: 0.7128 MB / 1.037 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.7385, allocations: 27.42 kB / 1.037 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.7385, allocations: 0 / 1.037 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of Templates: time 0.006006/0.7445, allocations: 3.82 MB / 1.04 GB, free: 14.05 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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 & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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