Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_11_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_11_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.002161/0.002161, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002039/0.002039, allocations: 194.7 kB / 16.26 MB, free: 6.621 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 469.8 MB / 0.742 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 77.45 kB / 0.908 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3003, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003319/0.3037, allocations: 2.08 MB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3061, allocations: 1.655 MB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.3062, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.399e-05/0.3062, allocations: 15.86 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.3063, allocations: 39.67 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.3073, allocations: 324.5 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.3075, allocations: 223 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3076, allocations: 49.47 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3078, allocations: 79.78 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.3079, allocations: 87.72 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.3079, allocations: 20 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.3087, allocations: 415.5 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.3088, allocations: 43.83 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.622e-05/0.3089, allocations: 87.66 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.3094, allocations: 435.2 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3094, allocations: 0 / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3095, allocations: 8 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3095, allocations: 0 / 1.069 GB, free: 9.051 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.0008434/0.3103, allocations: 0.5108 MB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3104, allocations: 8.031 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000582/0.3109, allocations: 84.73 kB / 1.069 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.3111, allocations: 184.1 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.3112, allocations: 54.25 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.3112, allocations: 12.38 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.3117, allocations: 182.9 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3117, allocations: 3.938 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.3117, allocations: 11.98 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.3117, allocations: 4 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.3122, allocations: 179.9 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.3136, allocations: 0.9112 MB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.3142, allocations: 170.5 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.3144, allocations: 76.83 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006995/0.3151, allocations: 0.5181 MB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3151, allocations: 42.5 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3151, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.000697/0.3158, allocations: 238.5 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3159, allocations: 51.41 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.316, allocations: 169.1 kB / 1.072 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3161, allocations: 25.7 kB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.3162, allocations: 119.8 kB / 1.072 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.3162, allocations: 43.34 kB / 1.072 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.3163, allocations: 41.7 kB / 1.072 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3164, allocations: 330.8 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.3166, allocations: 71.91 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.3169, allocations: 105.6 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.3173, allocations: 147.9 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3173, allocations: 3.938 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005003/0.3178, allocations: 215 kB / 1.073 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3178, allocations: 4 kB / 1.073 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3178, allocations: 0 / 1.073 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3178, allocations: 0 / 1.073 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3181, allocations: 39.97 kB / 1.073 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3181, allocations: 4 kB / 1.073 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.3183, allocations: 23.77 kB / 1.073 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.3183, allocations: 11.98 kB / 1.073 GB, free: 4.086 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.0001173/0.3184, allocations: 133.7 kB / 1.073 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.3185, allocations: 7.906 kB / 1.073 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/0.319, allocations: 199.8 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.319, allocations: 4 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.319, allocations: 4 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3191, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.3205, allocations: 0.9779 MB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3205, allocations: 0 / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.3207, allocations: 31.97 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3208, allocations: 0 / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3208, allocations: 12 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3208, allocations: 0 / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3208, allocations: 3.938 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.3213, allocations: 289.1 kB / 1.075 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.3214, allocations: 92.94 kB / 1.075 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.3214, allocations: 11.98 kB / 1.075 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.3217, allocations: 11.98 kB / 1.075 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3217, allocations: 19.92 kB / 1.075 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3217, allocations: 4 kB / 1.075 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3218, allocations: 119.2 kB / 1.075 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3218, allocations: 0 / 1.075 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004456/0.3223, allocations: 127.8 kB / 1.075 GB, free: 1.848 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.0004437/0.3227, allocations: 235 kB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005113/0.3233, allocations: 185.2 kB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3233, allocations: 0 / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.3235, allocations: 83.97 kB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3239, allocations: 40.61 kB / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.3247, allocations: 376.7 kB / 1.076 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3251, allocations: 0.7125 MB / 1.077 GB, free: 172 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.3252, allocations: 29.45 kB / 1.077 GB, free: 144 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.3253, allocations: 19.44 kB / 1.077 GB, free: 124 kB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.3253, allocations: 0 / 1.077 GB, free: 124 kB / 0.8262 GB Notification: Performance of Templates: time 0.008628/0.334, allocations: 4.263 MB / 1.081 GB, free: 11.91 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches