Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001283/0.001283, allocations: 111.1 kB / 17.08 MB, free: 5.965 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.001415/0.001415, allocations: 194.8 kB / 20.03 MB, free: 3.043 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.499/1.499, allocations: 222.9 MB / 245.7 MB, free: 4.242 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.157/3.157, allocations: 490 MB / 0.7695 GB, free: 3.145 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002513, allocations: 75.86 kB / 1.104 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9381/0.9406, allocations: 164 MB / 1.264 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002004/0.9427, allocations: 0.7052 MB / 1.265 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.9438, allocations: 0.8368 MB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.9439, allocations: 4.844 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.9439, allocations: 0.7969 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.944, allocations: 4.875 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.9442, allocations: 26.92 kB / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.9443, allocations: 52.84 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.9444, allocations: 13.16 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.819e-05/0.9445, allocations: 22.19 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.9446, allocations: 21.98 kB / 1.266 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.9446, allocations: 4.406 kB / 1.266 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.9446, allocations: 4.625 kB / 1.266 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.9447, allocations: 16.22 kB / 1.266 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.9447, allocations: 17.81 kB / 1.266 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.9448, allocations: 53.52 kB / 1.266 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9448, allocations: 0.6875 kB / 1.266 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9448, allocations: 0 / 1.266 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.9449, allocations: 0.75 kB / 1.266 GB, free: 6.145 MB / 0.9981 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.0004668/0.9453, allocations: 346.8 kB / 1.266 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.9454, allocations: 9.953 kB / 1.266 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.9454, allocations: 7.047 kB / 1.266 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.9455, allocations: 173 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.9456, allocations: 10.09 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.9456, allocations: 2.344 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.9458, allocations: 77.52 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.9458, allocations: 0.6562 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.9458, allocations: 0 / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.9459, allocations: 0.9688 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.9461, allocations: 53.22 kB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.9465, allocations: 293.9 kB / 1.267 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.9467, allocations: 67.73 kB / 1.267 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.9469, allocations: 33.31 kB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.9469, allocations: 0.8594 kB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.9469, allocations: 36.45 kB / 1.267 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.9469, allocations: 0 / 1.267 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004432/0.9474, allocations: 110.7 kB / 1.267 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.9474, allocations: 52.06 kB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.9475, allocations: 109.4 kB / 1.267 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.9475, allocations: 26.61 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.9475, allocations: 91.62 kB / 1.267 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.9476, allocations: 13.75 kB / 1.267 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.9476, allocations: 19.81 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.9476, allocations: 317.8 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.9478, allocations: 26.36 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.9479, allocations: 28.05 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.9481, allocations: 58.8 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9481, allocations: 256 / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002586/0.9484, allocations: 88.3 kB / 1.268 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.9484, allocations: 6.047 kB / 1.268 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9484, allocations: 4 kB / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.9484, allocations: 0.7812 kB / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.9486, allocations: 13.33 kB / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9486, allocations: 0.8125 kB / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.9487, allocations: 10.59 kB / 1.268 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.9487, allocations: 1.344 kB / 1.268 GB, free: 4.336 MB / 0.9981 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 6.075e-05/0.9488, allocations: 116.8 kB / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.9488, allocations: 2.875 kB / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.9488, allocations: 13.14 kB / 1.268 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.9488, allocations: 1.406 kB / 1.268 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.9488, allocations: 0 / 1.268 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.9488, allocations: 0.7812 kB / 1.268 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.949, allocations: 174.7 kB / 1.268 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.949, allocations: 7.938 kB / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.9491, allocations: 13.55 kB / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9491, allocations: 0 / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.9491, allocations: 1.656 kB / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.9491, allocations: 1.672 kB / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9491, allocations: 0 / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.9495, allocations: 197 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.9495, allocations: 78.69 kB / 1.268 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.9495, allocations: 1.547 kB / 1.268 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.9496, allocations: 6.25 kB / 1.268 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.9497, allocations: 11.23 kB / 1.268 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.9497, allocations: 2.469 kB / 1.268 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.048e-05/0.9497, allocations: 86.16 kB / 1.268 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9497, allocations: 0 / 1.268 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002174/0.95, allocations: 11.09 kB / 1.268 GB, free: 3.652 MB / 0.9981 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.0001079/0.9501, allocations: 104.5 kB / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.9504, allocations: 57.03 kB / 1.268 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9504, allocations: 1.188 kB / 1.268 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.9505, allocations: 29.02 kB / 1.268 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.9508, allocations: 8.266 kB / 1.268 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.9512, allocations: 158.5 kB / 1.269 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.9513, allocations: 0.6811 MB / 1.269 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.9513, allocations: 16.06 kB / 1.269 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.9514, allocations: 0 / 1.269 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of Templates: time 0.002689/0.954, allocations: 0.8138 MB / 1.27 GB, free: 2.625 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.371017872006632]