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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 98.72 kB / 16.02 MB, free: 76 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.001619/0.001619, allocations: 179.3 kB / 16.92 MB, free: 6.918 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.665/2.665, allocations: 462.7 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003473, allocations: 12.62 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3097, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002408/0.3121, allocations: 1.732 MB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.3149, allocations: 1.71 MB / 1.063 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.315, allocations: 8 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.444e-05/0.3151, allocations: 11.91 kB / 1.063 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.3153, allocations: 47.61 kB / 1.063 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3164, allocations: 295.2 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.3167, allocations: 207.2 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3169, allocations: 45.38 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.317, allocations: 75.72 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3172, allocations: 75.73 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.3172, allocations: 8 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008832/0.3181, allocations: 391.5 kB / 1.064 GB, free: 388 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.3182, allocations: 35.84 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.3183, allocations: 105.3 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.3188, allocations: 315.5 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3188, allocations: 3.938 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3188, allocations: 0 / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3188, allocations: 0 / 1.064 GB, free: 15.92 MB / 0.8262 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.0008334/0.3197, allocations: 495.2 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3197, allocations: 15.97 kB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006185/0.3203, allocations: 100.6 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3205, allocations: 180.1 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.599e-05/0.3206, allocations: 50.25 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.3206, allocations: 16.38 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.3211, allocations: 186 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3211, allocations: 3.938 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.3211, allocations: 4 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3212, allocations: 7.938 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.3217, allocations: 203.9 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.3231, allocations: 0.9072 MB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.3237, allocations: 186.5 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.3239, allocations: 88.08 kB / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/0.3245, allocations: 0.5142 MB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3246, allocations: 34.56 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.3246, allocations: 7.938 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007491/0.3254, allocations: 249.8 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3254, allocations: 51.41 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3256, allocations: 167.8 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.3256, allocations: 25.7 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.3257, allocations: 123.7 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.3257, allocations: 35.45 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.3258, allocations: 25.7 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3259, allocations: 322.8 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3261, allocations: 79.95 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.3263, allocations: 98.88 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.3267, allocations: 159.2 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3268, allocations: 3.938 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005153/0.3273, allocations: 227.1 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3273, allocations: 4 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3273, allocations: 4 kB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3273, allocations: 0 / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.3276, allocations: 39.91 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3276, allocations: 7.938 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3278, allocations: 31.77 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3278, allocations: 4 kB / 1.069 GB, free: 10.91 MB / 0.8262 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.0001256/0.328, allocations: 125.8 kB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.328, allocations: 15.81 kB / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.3286, allocations: 210.4 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3286, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3286, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3286, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.3301, allocations: 0.9895 MB / 1.07 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3301, allocations: 0 / 1.07 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.3303, allocations: 39.98 kB / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.3303, allocations: 4 kB / 1.07 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.3304, allocations: 3.984 kB / 1.07 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.3304, allocations: 7.984 kB / 1.07 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3304, allocations: 0 / 1.07 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.3309, allocations: 296.3 kB / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.331, allocations: 100.8 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.331, allocations: 4 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.3312, allocations: 19.98 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3313, allocations: 19.86 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3313, allocations: 7.984 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.901e-05/0.3314, allocations: 122.1 kB / 1.071 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3314, allocations: 0 / 1.071 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004842/0.3319, allocations: 123.9 kB / 1.071 GB, free: 8.637 MB / 0.8262 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.0004797/0.3324, allocations: 235 kB / 1.071 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.3329, allocations: 195.8 kB / 1.071 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.3329, allocations: 0 / 1.071 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.3331, allocations: 83.91 kB / 1.071 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3336, allocations: 40.16 kB / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.3344, allocations: 439 kB / 1.072 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.3347, allocations: 0.705 MB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.3348, allocations: 27.42 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3348, allocations: 0 / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of Templates: time 0.006947/0.3418, allocations: 3.838 MB / 1.076 GB, free: 3.055 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) 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) Reference file matches