Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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") 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_9_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.00166/0.00166, allocations: 100.1 kB / 15.88 MB, free: 8 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.002044/0.002044, allocations: 196.9 kB / 16.79 MB, free: 6.824 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.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.36/2.36, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7921, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003285/0.7955, allocations: 2.073 MB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.7979, allocations: 1.741 MB / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.798, allocations: 1.5 kB / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.267e-05/0.7981, allocations: 17.23 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.7982, allocations: 45.7 kB / 0.9534 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009876/0.7992, allocations: 287.6 kB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.7994, allocations: 216.6 kB / 0.9539 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.7996, allocations: 52.41 kB / 0.9539 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.7997, allocations: 68.38 kB / 0.954 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.7999, allocations: 89.34 kB / 0.9541 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.7999, allocations: 11.22 kB / 0.9541 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.8007, allocations: 381.8 kB / 0.9544 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.8008, allocations: 37.69 kB / 0.9545 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.8009, allocations: 83.55 kB / 0.9545 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.8014, allocations: 320.4 kB / 0.9549 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8014, allocations: 0 / 0.9549 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8014, allocations: 0 / 0.9549 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8014, allocations: 1.219 kB / 0.9549 GB, free: 5.145 MB / 0.7169 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.0008365/0.8023, allocations: 0.5103 MB / 0.9554 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.8023, allocations: 13.22 kB / 0.9554 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.8029, allocations: 90.45 kB / 0.9555 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.244e-05/0.803, allocations: 184.8 kB / 0.9556 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.436e-05/0.8031, allocations: 51.28 kB / 0.9557 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.8031, allocations: 14.12 kB / 0.9557 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.8035, allocations: 186 kB / 0.9559 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.8036, allocations: 3.938 kB / 0.9559 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.8036, allocations: 10.47 kB / 0.9559 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.8036, allocations: 2.562 kB / 0.9559 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.804, allocations: 179.9 kB / 0.9561 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.8053, allocations: 0.9186 MB / 0.957 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.8058, allocations: 177.4 kB / 0.9571 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.806, allocations: 77.64 kB / 0.9572 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005522/0.8066, allocations: 0.5208 MB / 0.9577 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.8066, allocations: 35.86 kB / 0.9577 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.8066, allocations: 0 / 0.9577 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0007152/0.8073, allocations: 239.2 kB / 0.958 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.8074, allocations: 58.03 kB / 0.958 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.8075, allocations: 153.5 kB / 0.9582 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.8075, allocations: 31.11 kB / 0.9582 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.8076, allocations: 117.9 kB / 0.9583 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.8076, allocations: 54.06 kB / 0.9584 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.8077, allocations: 38.17 kB / 0.9584 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.8078, allocations: 325.6 kB / 0.9587 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.808, allocations: 76.27 kB / 0.9588 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.8082, allocations: 92.94 kB / 0.9589 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.8086, allocations: 151.6 kB / 0.959 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8086, allocations: 5.5 kB / 0.959 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004651/0.8091, allocations: 209.3 kB / 0.9592 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.8091, allocations: 8.656 kB / 0.9592 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.8091, allocations: 1.688 kB / 0.9592 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.8091, allocations: 1.594 kB / 0.9592 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.8094, allocations: 39.12 kB / 0.9593 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8094, allocations: 5.5 kB / 0.9593 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.8096, allocations: 28.73 kB / 0.9593 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.8097, allocations: 8.047 kB / 0.9593 GB, free: 1.219 MB / 0.7169 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.0001023/0.8098, allocations: 132.4 kB / 0.9594 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.8098, allocations: 10.56 kB / 0.9594 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.8103, allocations: 193.3 kB / 0.9596 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8103, allocations: 5.734 kB / 0.9596 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8103, allocations: 1.062 kB / 0.9596 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.8104, allocations: 3.938 kB / 0.9596 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.8116, allocations: 0.978 MB / 0.9606 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8117, allocations: 5.312 kB / 0.9606 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.8119, allocations: 37.56 kB / 0.9606 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.8119, allocations: 1.125 kB / 0.9606 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.8119, allocations: 2.156 kB / 0.9606 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.8119, allocations: 9.188 kB / 0.9606 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.8119, allocations: 1.062 kB / 0.9606 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.8125, allocations: 293.5 kB / 0.9609 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.8125, allocations: 93.34 kB / 0.961 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.8126, allocations: 6.188 kB / 0.961 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.8128, allocations: 11.89 kB / 0.961 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.8128, allocations: 17.73 kB / 0.9611 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.8129, allocations: 3 kB / 0.9611 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001061/0.813, allocations: 123.9 kB / 0.9612 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.813, allocations: 1.062 kB / 0.9612 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000577/0.8136, allocations: 125.9 kB / 0.9613 GB, free: 15.45 MB / 0.7325 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.000489/0.8141, allocations: 225.8 kB / 0.9615 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004993/0.8146, allocations: 182.3 kB / 0.9617 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8146, allocations: 0 / 0.9617 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.8148, allocations: 80.75 kB / 0.9618 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.8153, allocations: 43.78 kB / 0.9618 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.8161, allocations: 389.3 kB / 0.9622 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.8164, allocations: 0.7139 MB / 0.9629 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/0.8165, allocations: 19.16 kB / 0.9629 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of SimCode: time 1.944e-06/0.8165, allocations: 3.938 kB / 0.9629 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of Templates: time 0.007357/0.8238, allocations: 3.851 MB / 0.9667 GB, free: 12.16 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches