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.001316/0.001316, allocations: 107.6 kB / 15.99 MB, free: 6.359 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.001288/0.001288, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.362/1.362, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.664/2.664, allocations: 469.8 MB / 0.7427 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 62.64 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00354/0.3332, allocations: 2.094 MB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.3357, allocations: 1.647 MB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.3358, allocations: 0 / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.546e-05/0.3359, allocations: 19.84 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.899e-05/0.336, allocations: 35.69 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.337, allocations: 327.1 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.3372, allocations: 215.2 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.3374, allocations: 53.45 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.3375, allocations: 79.72 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3377, allocations: 87.72 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.3377, allocations: 24 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007691/0.3385, allocations: 419.4 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.3386, allocations: 39.91 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.3387, allocations: 95.62 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.3391, allocations: 307.6 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3391, allocations: 0 / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3391, allocations: 0 / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3391, allocations: 0 / 1.069 GB, free: 9.66 MB / 0.8419 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.000876/0.34, allocations: 0.5186 MB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.34, allocations: 12.03 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005882/0.3406, allocations: 88.73 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.3408, allocations: 184.1 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.31e-05/0.3409, allocations: 42.27 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.3409, allocations: 20.38 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.3414, allocations: 183.8 kB / 1.07 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3414, allocations: 3.938 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.3415, allocations: 15.94 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3415, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.3419, allocations: 179.9 kB / 1.071 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.3434, allocations: 0.8996 MB / 1.071 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.3439, allocations: 178.4 kB / 1.072 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.3441, allocations: 84.81 kB / 1.072 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007056/0.3448, allocations: 0.522 MB / 1.072 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3449, allocations: 30.56 kB / 1.072 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.714e-06/0.3449, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0007388/0.3456, allocations: 244.5 kB / 1.073 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3457, allocations: 55.34 kB / 1.073 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3458, allocations: 161.1 kB / 1.073 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.3459, allocations: 29.7 kB / 1.073 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.346, allocations: 119.8 kB / 1.073 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.346, allocations: 43.36 kB / 1.073 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.3461, allocations: 37.7 kB / 1.073 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3463, allocations: 326.8 kB / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.3465, allocations: 75.95 kB / 1.073 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.3467, allocations: 95.91 kB / 1.073 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.3471, allocations: 147.7 kB / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3471, allocations: 3.938 kB / 1.074 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004995/0.3476, allocations: 213.4 kB / 1.074 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3476, allocations: 8 kB / 1.074 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3476, allocations: 8.031 kB / 1.074 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3477, allocations: 0 / 1.074 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.3479, allocations: 39.91 kB / 1.074 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3479, allocations: 0 / 1.074 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.3481, allocations: 31.77 kB / 1.074 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.3481, allocations: 4 kB / 1.074 GB, free: 4.688 MB / 0.8419 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.0001188/0.3483, allocations: 126.4 kB / 1.074 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.3483, allocations: 15.91 kB / 1.074 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.3489, allocations: 202.3 kB / 1.074 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3489, allocations: 4 kB / 1.074 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3489, allocations: 0 / 1.074 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3489, allocations: 0 / 1.074 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.3504, allocations: 0.9779 MB / 1.075 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3504, allocations: 0 / 1.075 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.3506, allocations: 31.98 kB / 1.075 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3507, allocations: 4 kB / 1.075 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3507, allocations: 3.984 kB / 1.075 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.3507, allocations: 4 kB / 1.075 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3507, allocations: 0 / 1.075 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.3512, allocations: 296.1 kB / 1.075 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.3513, allocations: 88.95 kB / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.3513, allocations: 8 kB / 1.076 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.3516, allocations: 15.97 kB / 1.076 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.3516, allocations: 19.86 kB / 1.076 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.3516, allocations: 4 kB / 1.076 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001029/0.3517, allocations: 123.2 kB / 1.076 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.136e-06/0.3517, allocations: 0 / 1.076 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004706/0.3522, allocations: 127.7 kB / 1.076 GB, free: 2.449 MB / 0.8419 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.0004745/0.3527, allocations: 225 kB / 1.076 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005142/0.3532, allocations: 183.8 kB / 1.076 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3532, allocations: 3.938 kB / 1.076 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.3534, allocations: 83.89 kB / 1.076 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.3539, allocations: 45.48 kB / 1.076 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/0.3547, allocations: 410.3 kB / 1.077 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3551, allocations: 0.7086 MB / 1.077 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.3552, allocations: 27.42 kB / 1.077 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.3552, allocations: 0 / 1.077 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of Templates: time 0.4602/0.8154, allocations: 3.863 MB / 1.081 GB, free: 21.44 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/jenkins1/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