Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001723/0.001723, allocations: 115.1 kB / 16.37 MB, free: 5.984 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.001908/0.001908, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 65.89 kB / 0.814 GB, free: 32.81 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2884, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003233/0.2916, allocations: 2.034 MB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.2941, allocations: 1.663 MB / 0.9547 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.2941, allocations: 0 / 0.9547 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.116e-05/0.2942, allocations: 19.8 kB / 0.9548 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2943, allocations: 47.55 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00096/0.2953, allocations: 358.8 kB / 0.9551 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.2956, allocations: 223.1 kB / 0.9554 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.2957, allocations: 53.44 kB / 0.9554 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2959, allocations: 83.77 kB / 0.9555 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.296, allocations: 83.73 kB / 0.9556 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.2961, allocations: 24 kB / 0.9556 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008056/0.2969, allocations: 411.5 kB / 0.956 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.2969, allocations: 39.84 kB / 0.956 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.2971, allocations: 87.66 kB / 0.9561 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006204/0.2977, allocations: 426.9 kB / 0.9565 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2977, allocations: 0 / 0.9565 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2977, allocations: 0 / 0.9565 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.2977, allocations: 0 / 0.9565 GB, free: 2.492 MB / 0.7325 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.0007872/0.2985, allocations: 0.5225 MB / 0.957 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2986, allocations: 19.95 kB / 0.957 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/0.2991, allocations: 84.66 kB / 0.9571 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2992, allocations: 184.1 kB / 0.9573 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-05/0.2993, allocations: 46.27 kB / 0.9573 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.2994, allocations: 20.36 kB / 0.9574 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.2997, allocations: 178 kB / 0.9575 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2998, allocations: 3.938 kB / 0.9575 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.2998, allocations: 8 kB / 0.9575 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2998, allocations: 4 kB / 0.9575 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.3002, allocations: 179.9 kB / 0.9577 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3016, allocations: 0.9073 MB / 0.9586 GB, free: 120 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.3021, allocations: 182.5 kB / 0.9588 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.3023, allocations: 72.83 kB / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006467/0.303, allocations: 0.522 MB / 0.9594 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.303, allocations: 38.56 kB / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 3.096e-06/0.303, allocations: 0 / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.0006976/0.3037, allocations: 233.7 kB / 0.9596 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3038, allocations: 55.41 kB / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3039, allocations: 169.1 kB / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.304, allocations: 29.7 kB / 0.9599 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.304, allocations: 115.8 kB / 0.96 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.3041, allocations: 47.36 kB / 0.96 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.3042, allocations: 33.7 kB / 0.96 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3043, allocations: 326.8 kB / 0.9604 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.3045, allocations: 75.95 kB / 0.9604 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.3047, allocations: 91.56 kB / 0.9605 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.3051, allocations: 159.7 kB / 0.9607 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3051, allocations: 3.938 kB / 0.9607 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005075/0.3056, allocations: 213.4 kB / 0.9609 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3056, allocations: 6.031 kB / 0.9609 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3056, allocations: 0 / 0.9609 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3057, allocations: 4 kB / 0.9609 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3059, allocations: 35.97 kB / 0.9609 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3059, allocations: 4.031 kB / 0.9609 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.3061, allocations: 27.67 kB / 0.9609 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.3062, allocations: 8 kB / 0.961 GB, free: 13.51 MB / 0.7481 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.0001047/0.3063, allocations: 129.7 kB / 0.9611 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.3063, allocations: 19.83 kB / 0.9611 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.3068, allocations: 194.3 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3068, allocations: 4 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3069, allocations: 0 / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.3069, allocations: 3.984 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.3082, allocations: 0.9817 MB / 0.9622 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3082, allocations: 0 / 0.9622 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.3084, allocations: 31.97 kB / 0.9623 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3085, allocations: 0 / 0.9623 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3085, allocations: 8.062 kB / 0.9623 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3085, allocations: 4 kB / 0.9623 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3085, allocations: 0 / 0.9623 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.309, allocations: 292.9 kB / 0.9626 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3091, allocations: 96.95 kB / 0.9627 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.3091, allocations: 3.984 kB / 0.9627 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.3093, allocations: 15.98 kB / 0.9627 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3094, allocations: 11.92 kB / 0.9627 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.3094, allocations: 4 kB / 0.9627 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.986e-05/0.3095, allocations: 125.1 kB / 0.9628 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3095, allocations: 0 / 0.9628 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000457/0.31, allocations: 131.9 kB / 0.9629 GB, free: 11.27 MB / 0.7481 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.0004077/0.3104, allocations: 231 kB / 0.9632 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.3109, allocations: 171.9 kB / 0.9633 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3109, allocations: 0 / 0.9633 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.3111, allocations: 83.89 kB / 0.9634 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.3115, allocations: 47.34 kB / 0.9635 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.3122, allocations: 344.7 kB / 0.9638 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3125, allocations: 0.7047 MB / 0.9645 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.3126, allocations: 35.53 kB / 0.9645 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.3127, allocations: 19.42 kB / 0.9645 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.3127, allocations: 3.938 kB / 0.9645 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of Templates: time 0.007815/0.3206, allocations: 4.259 MB / 0.9687 GB, free: 5.379 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches