Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 211.4 kB / 23 MB, free: 4.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.685/2.685, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 65.36 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3225, allocations: 169.9 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003598/0.3261, allocations: 2.081 MB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002813/0.3289, allocations: 1.686 MB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.329, allocations: 4 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.021e-05/0.3291, allocations: 19.78 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.3292, allocations: 47.56 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.3303, allocations: 366.8 kB / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.3306, allocations: 219.1 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3308, allocations: 33.66 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3309, allocations: 83.78 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.331, allocations: 91.66 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3311, allocations: 16 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008612/0.3319, allocations: 435.4 kB / 1.29 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.332, allocations: 43.89 kB / 1.29 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.687e-05/0.3321, allocations: 83.66 kB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.3327, allocations: 438.6 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3327, allocations: 3.938 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3327, allocations: 0 / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3327, allocations: 4 kB / 1.29 GB, free: 5.566 MB / 0.9825 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.0008649/0.3336, allocations: 458.9 kB / 1.291 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3337, allocations: 8.031 kB / 1.291 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005881/0.3342, allocations: 92.73 kB / 1.291 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3344, allocations: 122.3 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.3345, allocations: 75.95 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.3345, allocations: 20.38 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.3349, allocations: 190 kB / 1.291 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.335, allocations: 3.938 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.335, allocations: 4 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.335, allocations: 4 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.3353, allocations: 131.9 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.3367, allocations: 0.6955 MB / 1.292 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.3387, allocations: 322.2 kB / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.3389, allocations: 80.81 kB / 1.292 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/0.3393, allocations: 67.92 kB / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.3394, allocations: 42.44 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.3394, allocations: 0 / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.001637/0.341, allocations: 396.5 kB / 1.293 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.341, allocations: 63.34 kB / 1.293 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.3412, allocations: 150.4 kB / 1.293 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.3412, allocations: 33.7 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.3413, allocations: 115.9 kB / 1.293 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.3414, allocations: 55.52 kB / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.3414, allocations: 37.7 kB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3416, allocations: 322.8 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.3418, allocations: 83.95 kB / 1.294 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.342, allocations: 91.91 kB / 1.294 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.3424, allocations: 146.9 kB / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3424, allocations: 0 / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008745/0.3433, allocations: 294.2 kB / 1.294 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3433, allocations: 7.938 kB / 1.294 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3433, allocations: 4 kB / 1.294 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.3439, allocations: 116.8 kB / 1.294 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.345, allocations: 104 kB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008769/0.3459, allocations: 0.6342 MB / 1.295 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.346, allocations: 19.92 kB / 1.295 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.3461, allocations: 11.98 kB / 1.295 GB, free: 416 kB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.3462, allocations: 129 kB / 1.295 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.3462, allocations: 19.84 kB / 1.295 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008733/0.3471, allocations: 278.5 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3471, allocations: 4 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3471, allocations: 4 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3471, allocations: 3.984 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.3489, allocations: 0.6988 MB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3489, allocations: 0 / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.35, allocations: 96.02 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/0.3505, allocations: 127.4 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3505, allocations: 11.98 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008138/0.3513, allocations: 0.6344 MB / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3513, allocations: 96 / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.3522, allocations: 373.7 kB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.3522, allocations: 11.91 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3523, allocations: 11.98 kB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.3525, allocations: 11.98 kB / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.3525, allocations: 11.98 kB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3525, allocations: 7.984 kB / 1.297 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.641e-05/0.3526, allocations: 115.2 kB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3526, allocations: 4 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004913/0.3531, allocations: 135.5 kB / 1.297 GB, free: 13.62 MB / 0.9981 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000455/0.3536, allocations: 226.8 kB / 1.298 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008794/0.3545, allocations: 226.1 kB / 1.298 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3545, allocations: 4 kB / 1.298 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.355, allocations: 123.8 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.3554, allocations: 50.2 kB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007913/0.3562, allocations: 369.9 kB / 1.298 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3566, allocations: 0.7086 MB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.3566, allocations: 19.42 kB / 1.299 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3566, allocations: 4 kB / 1.299 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of Templates: time 0.007509/0.3641, allocations: 4.397 MB / 1.303 GB, free: 7.473 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.906173630995909]