Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.001728/0.001728, allocations: 78.02 kB / 19.76 MB, free: 2.031 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.002086/0.002086, allocations: 156.4 kB / 23.01 MB, free: 4.945 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.53/1.53, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.683/2.683, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 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.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [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.002268/0.002268, allocations: 66.25 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3426, allocations: 169.9 MB / 1.117 GB, free: 2.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002195/0.3448, allocations: 0.7025 MB / 1.118 GB, free: 1.871 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.346, allocations: 0.851 MB / 1.119 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.3461, allocations: 0 / 1.119 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.3461, allocations: 0 / 1.119 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.075e-05/0.3462, allocations: 7.938 kB / 1.119 GB, free: 1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.3463, allocations: 35.84 kB / 1.119 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.573e-05/0.3464, allocations: 43.91 kB / 1.119 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3466, allocations: 19.92 kB / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.3466, allocations: 15.94 kB / 1.119 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.3467, allocations: 27.89 kB / 1.119 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.3467, allocations: 4 kB / 1.119 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.3467, allocations: 4 kB / 1.119 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.3468, allocations: 11.98 kB / 1.119 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.3468, allocations: 11.94 kB / 1.119 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.3469, allocations: 51.78 kB / 1.119 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3469, allocations: 0 / 1.119 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3469, allocations: 4 kB / 1.119 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3469, allocations: 0 / 1.119 GB, free: 0.7734 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005314/0.3474, allocations: 278.3 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3475, allocations: 8.031 kB / 1.119 GB, free: 476 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.3475, allocations: 8.891 kB / 1.119 GB, free: 468 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3476, allocations: 110.4 kB / 1.12 GB, free: 332 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.3477, allocations: 4.375 kB / 1.12 GB, free: 328 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.3477, allocations: 384 / 1.12 GB, free: 328 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.3479, allocations: 73.59 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3479, allocations: 4 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3479, allocations: 3.938 kB / 1.12 GB, free: 240 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3479, allocations: 4 kB / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.3481, allocations: 47.94 kB / 1.12 GB, free: 188 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.3486, allocations: 236.4 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.3488, allocations: 62.55 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.3489, allocations: 32.91 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.349, allocations: 0 / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.349, allocations: 38.56 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 2.886e-06/0.349, allocations: 3.984 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0004446/0.3494, allocations: 109.6 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3495, allocations: 55.39 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.3496, allocations: 109.8 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3496, allocations: 25.7 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.3497, allocations: 92.12 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.3497, allocations: 7.953 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.3497, allocations: 21.66 kB / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3499, allocations: 318.8 kB / 1.121 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.35, allocations: 23.98 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.962e-05/0.3501, allocations: 23.97 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.3503, allocations: 56.81 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3503, allocations: 0 / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002629/0.3506, allocations: 97.53 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3506, allocations: 4 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.3506, allocations: 0 / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3506, allocations: 0 / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3508, allocations: 11.98 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3508, allocations: 7.984 kB / 1.121 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.3508, allocations: 11.92 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3509, allocations: 0 / 1.121 GB, free: 14.75 MB / 1.076 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 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001034/0.351, allocations: 121.8 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.351, allocations: 4.203 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.351, allocations: 4 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.351, allocations: 4 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.351, allocations: 4 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.351, allocations: 0 / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3512, allocations: 117.2 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3512, allocations: 0 / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3513, allocations: 19.91 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3513, allocations: 0 / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3513, allocations: 8 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3513, allocations: 0 / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3513, allocations: 0 / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.3516, allocations: 187.4 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.3516, allocations: 7.953 kB / 1.121 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3517, allocations: 0 / 1.121 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3518, allocations: 7.984 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.3518, allocations: 11.98 kB / 1.121 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.3518, allocations: 4 kB / 1.121 GB, free: 14.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.099e-05/0.3519, allocations: 87.28 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3519, allocations: 0 / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002285/0.3521, allocations: 4 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001191/0.3522, allocations: 107.5 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.3525, allocations: 55.94 kB / 1.122 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3525, allocations: 4 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.3526, allocations: 31.97 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.3529, allocations: 11.94 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.3533, allocations: 133.4 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.536e-05/0.3534, allocations: 67.34 kB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.3534, allocations: 0 / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.3534, allocations: 20.48 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.3534, allocations: 0 / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of Templates: time 0.003687/0.3571, allocations: 0.9606 MB / 1.123 GB, free: 12.68 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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: 8.675237603019923]