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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001663/0.001668, allocations: 102.1 kB / 16.41 MB, free: 6.488 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.001783/0.001783, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.489/1.489, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 71.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9209/0.9223, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003412/0.9258, allocations: 2.036 MB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.9282, allocations: 1.656 MB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.9283, allocations: 6.25 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.776e-05/0.9284, allocations: 19.38 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.9286, allocations: 48.33 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.9297, allocations: 351.6 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.93, allocations: 226.7 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.9302, allocations: 48.97 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.9303, allocations: 89.95 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.9305, allocations: 87.72 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.9305, allocations: 18.41 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009/0.9314, allocations: 417.8 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.9315, allocations: 38.48 kB / 1.094 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.9316, allocations: 85.28 kB / 1.094 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.9323, allocations: 423.1 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9323, allocations: 0.75 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9323, allocations: 3.938 kB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.9323, allocations: 0.75 kB / 1.094 GB, free: 2.145 MB / 0.8575 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.0008077/0.9331, allocations: 0.5178 MB / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.9332, allocations: 10.11 kB / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006123/0.9338, allocations: 90 kB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.963e-05/0.9339, allocations: 179.3 kB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.33e-05/0.934, allocations: 44.77 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.934, allocations: 17.81 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.9345, allocations: 180.6 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.9345, allocations: 3.938 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.9345, allocations: 6 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.9345, allocations: 8.609 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.935, allocations: 182.4 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.9363, allocations: 0.9112 MB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.9369, allocations: 178.3 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.9371, allocations: 78.97 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.9377, allocations: 0.5241 MB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.9377, allocations: 33.08 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.9377, allocations: 0 / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0007835/0.9385, allocations: 244.7 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.9386, allocations: 60.95 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.9388, allocations: 153.6 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.9388, allocations: 32.16 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.9389, allocations: 118.5 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.9389, allocations: 45.58 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.939, allocations: 38.53 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9391, allocations: 322.8 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.9393, allocations: 78.31 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.9396, allocations: 96.78 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.94, allocations: 144.7 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.94, allocations: 7.938 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005448/0.9406, allocations: 216.4 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.9406, allocations: 4.844 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.9406, allocations: 0.6562 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.9406, allocations: 2.25 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.9409, allocations: 39.23 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.9409, allocations: 2.453 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.9411, allocations: 27.66 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.9411, allocations: 6.125 kB / 1.098 GB, free: 14.64 MB / 0.8731 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.0001073/0.9412, allocations: 128.3 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.9413, allocations: 12.52 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/0.9418, allocations: 208.2 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.9418, allocations: 2 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9418, allocations: 0.75 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.9419, allocations: 1.828 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.9433, allocations: 0.9786 MB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.9433, allocations: 1.094 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.9435, allocations: 31.92 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.9436, allocations: 1.031 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.9436, allocations: 3.609 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.9436, allocations: 6.109 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9436, allocations: 1.125 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.9441, allocations: 286.2 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.9442, allocations: 86.38 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.9442, allocations: 10.86 kB / 1.1 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.9444, allocations: 16.72 kB / 1.1 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.9445, allocations: 20.73 kB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.9445, allocations: 5.656 kB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.397e-05/0.9446, allocations: 118.8 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.9446, allocations: 0 / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005967/0.9452, allocations: 131.6 kB / 1.1 GB, free: 13.05 MB / 0.8731 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.0005068/0.9457, allocations: 224.5 kB / 1.101 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005243/0.9463, allocations: 185 kB / 1.101 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9463, allocations: 0 / 1.101 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.9465, allocations: 82.95 kB / 1.101 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.947, allocations: 45.16 kB / 1.101 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.9478, allocations: 352 kB / 1.101 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.9481, allocations: 0.7108 MB / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.9482, allocations: 21.5 kB / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.9482, allocations: 1.125 kB / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.009541/0.9577, allocations: 3.876 MB / 1.106 GB, free: 11.43 MB / 0.8731 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