Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001361/0.001361, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.001495/0.001495, allocations: 212.8 kB / 23 MB, free: 4.969 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.493/3.493, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002064/0.002064, allocations: 72.8 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4396, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.003069/0.4427, allocations: 0.6891 MB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.4445, allocations: 0.8592 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.4446, allocations: 0 / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.4446, allocations: 7.938 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.4447, allocations: 3.938 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.445, allocations: 23.97 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.4451, allocations: 43.91 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.4452, allocations: 15.98 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.4454, allocations: 19.92 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.4455, allocations: 23.92 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.4455, allocations: 4 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/0.4455, allocations: 8 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.4455, allocations: 19.84 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.4456, allocations: 19.92 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.4458, allocations: 47.73 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4458, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.336e-06/0.4458, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.4458, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 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.0007716/0.4466, allocations: 282.3 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.4466, allocations: 8.031 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.4467, allocations: 8.891 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.4469, allocations: 102.5 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.4469, allocations: 4.375 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.4469, allocations: 4.375 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.4472, allocations: 73.58 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4472, allocations: 3.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.4473, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4473, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.4476, allocations: 55.89 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.4481, allocations: 232.4 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.4484, allocations: 70.52 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.4486, allocations: 28.86 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.4486, allocations: 3.984 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.4487, allocations: 38.56 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.4487, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0005901/0.4493, allocations: 109.6 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.4493, allocations: 51.41 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.4494, allocations: 109.8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.4495, allocations: 25.7 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.4495, allocations: 92.2 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.4496, allocations: 3.953 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.4496, allocations: 21.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4498, allocations: 318.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.4499, allocations: 31.91 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.4501, allocations: 23.98 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.4503, allocations: 52.81 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4503, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000334/0.4507, allocations: 89.59 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.4507, allocations: 4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4507, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4507, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.4509, allocations: 11.98 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4509, allocations: 4 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.233e-05/0.451, allocations: 11.92 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.451, allocations: 3.938 kB / 1.331 GB, free: 13.19 MB / 1.029 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.0001206/0.4511, allocations: 117.8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.4512, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.4512, allocations: 11.98 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4512, allocations: 7.938 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4512, allocations: 4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.4512, allocations: 7.891 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.4513, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.4514, allocations: 11.92 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.4515, allocations: 11.98 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004549/0.4519, allocations: 164.9 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004676/0.4524, allocations: 267.1 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001593/0.4526, allocations: 31.97 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.37e-05/0.4526, allocations: 87.53 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of Backend: time 6.61e-07/0.4526, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000603/0.4532, allocations: 100.4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of SimCode: time 0.000746/0.454, allocations: 0.5689 MB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of Templates: time 0.005258/0.4592, allocations: 1.13 MB / 1.333 GB, free: 10.61 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.565926791998209]