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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 188.8 kB / 22.1 MB, free: 4.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.054/3.054, allocations: 495.8 MB / 0.7831 GB, free: 12.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 59.89 kB / 1.137 GB, free: 12.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299/1.301, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00228/1.304, allocations: 0.7097 MB / 1.307 GB, free: 33.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001037/1.305, allocations: 0.8429 MB / 1.308 GB, free: 32.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/1.305, allocations: 0 / 1.308 GB, free: 32.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/1.305, allocations: 3.938 kB / 1.308 GB, free: 32.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.542e-05/1.305, allocations: 10.03 kB / 1.308 GB, free: 32.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/1.305, allocations: 24.56 kB / 1.308 GB, free: 32.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000101/1.305, allocations: 42.52 kB / 1.308 GB, free: 32.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/1.305, allocations: 16.95 kB / 1.308 GB, free: 32.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.94e-05/1.305, allocations: 23.38 kB / 1.308 GB, free: 32.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/1.306, allocations: 20.72 kB / 1.308 GB, free: 32.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/1.306, allocations: 5.438 kB / 1.308 GB, free: 32.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/1.306, allocations: 5.406 kB / 1.308 GB, free: 32.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/1.306, allocations: 15.31 kB / 1.308 GB, free: 32.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/1.306, allocations: 18.16 kB / 1.308 GB, free: 32.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/1.306, allocations: 44.78 kB / 1.308 GB, free: 32.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.306, allocations: 0 / 1.308 GB, free: 32.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/1.306, allocations: 7.031 kB / 1.309 GB, free: 32.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.134e-06/1.306, allocations: 0 / 1.309 GB, free: 32.6 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.000538/1.306, allocations: 284.1 kB / 1.309 GB, free: 32.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.306, allocations: 9.344 kB / 1.309 GB, free: 32.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/1.306, allocations: 0.9375 kB / 1.309 GB, free: 32.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/1.307, allocations: 116.5 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/1.307, allocations: 384 / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/1.307, allocations: 3.656 kB / 1.309 GB, free: 32.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/1.307, allocations: 84.17 kB / 1.309 GB, free: 32.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.307, allocations: 0 / 1.309 GB, free: 32.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/1.307, allocations: 0 / 1.309 GB, free: 32.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.307, allocations: 3 kB / 1.309 GB, free: 32.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/1.307, allocations: 48.27 kB / 1.309 GB, free: 32.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/1.308, allocations: 250.3 kB / 1.309 GB, free: 31.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/1.308, allocations: 71.36 kB / 1.309 GB, free: 31.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/1.308, allocations: 32.17 kB / 1.309 GB, free: 31.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/1.308, allocations: 0 / 1.309 GB, free: 31.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/1.308, allocations: 33.41 kB / 1.309 GB, free: 31.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/1.308, allocations: 0 / 1.309 GB, free: 31.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004511/1.308, allocations: 120.2 kB / 1.31 GB, free: 31.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/1.308, allocations: 55.34 kB / 1.31 GB, free: 31.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/1.308, allocations: 109.9 kB / 1.31 GB, free: 31.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/1.308, allocations: 25.7 kB / 1.31 GB, free: 31.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/1.309, allocations: 86.98 kB / 1.31 GB, free: 31.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/1.309, allocations: 14.62 kB / 1.31 GB, free: 31.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/1.309, allocations: 19.7 kB / 1.31 GB, free: 31.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.309, allocations: 329 kB / 1.31 GB, free: 31.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/1.309, allocations: 18.5 kB / 1.31 GB, free: 31.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.33e-05/1.309, allocations: 25.22 kB / 1.31 GB, free: 31.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/1.309, allocations: 56.48 kB / 1.31 GB, free: 31.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.309, allocations: 3.938 kB / 1.31 GB, free: 31.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002261/1.309, allocations: 86.97 kB / 1.31 GB, free: 31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.309, allocations: 5.812 kB / 1.31 GB, free: 31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.309, allocations: 0 / 1.31 GB, free: 31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.309, allocations: 0 / 1.31 GB, free: 31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/1.309, allocations: 15.72 kB / 1.31 GB, free: 31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/1.309, allocations: 6.828 kB / 1.31 GB, free: 30.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/1.31, allocations: 14.12 kB / 1.31 GB, free: 30.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/1.31, allocations: 256 / 1.31 GB, free: 30.98 MB / 1.061 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 7.625e-05/1.31, allocations: 124.5 kB / 1.31 GB, free: 30.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/1.31, allocations: 2.875 kB / 1.31 GB, free: 30.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/1.31, allocations: 8 kB / 1.31 GB, free: 30.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.31, allocations: 0 / 1.31 GB, free: 30.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.31, allocations: 6.812 kB / 1.31 GB, free: 30.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.31, allocations: 0 / 1.31 GB, free: 30.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/1.31, allocations: 146.6 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.31, allocations: 3.328 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.74e-05/1.31, allocations: 15.73 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.31, allocations: 6.781 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/1.31, allocations: 0 / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.31, allocations: 0 / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.31, allocations: 0 / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/1.31, allocations: 189.8 kB / 1.311 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/1.31, allocations: 2.844 kB / 1.311 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/1.31, allocations: 0 / 1.311 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/1.31, allocations: 10.03 kB / 1.311 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/1.31, allocations: 13.44 kB / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/1.31, allocations: 2.938 kB / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.313e-05/1.31, allocations: 84.91 kB / 1.311 GB, free: 30.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.31, allocations: 0 / 1.311 GB, free: 30.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002171/1.311, allocations: 9.594 kB / 1.311 GB, free: 30.42 MB / 1.061 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 9.96e-05/1.311, allocations: 101.5 kB / 1.311 GB, free: 30.33 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000282/1.311, allocations: 63.08 kB / 1.311 GB, free: 30.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.311, allocations: 0 / 1.311 GB, free: 30.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.311, allocations: 34.69 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/1.311, allocations: 2.844 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/1.312, allocations: 125.7 kB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/1.312, allocations: 0.685 MB / 1.312 GB, free: 29.49 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.671e-05/1.312, allocations: 5.312 kB / 1.312 GB, free: 29.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/1.312, allocations: 14.47 kB / 1.312 GB, free: 29.48 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/1.312, allocations: 3.938 kB / 1.312 GB, free: 29.47 MB / 1.061 GB Notification: Performance of Templates: time 0.003962/1.316, allocations: 0.915 MB / 1.313 GB, free: 29.39 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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: 10.479649239219725]