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.0011/0.0011, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002533, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009731/0.0009731, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.00216, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9395/0.9395, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1089/1.048, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.942/1.942, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5568/2.499, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.304e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001125/0.001138, allocations: 0.7583 MB / 0.7301 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007952/0.001934, allocations: 0.8856 MB / 0.7309 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.001969, allocations: 0 / 0.7309 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.001996, allocations: 7.938 kB / 0.7309 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.104e-05/0.002037, allocations: 5.25 kB / 0.7309 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.632e-05/0.002113, allocations: 24.67 kB / 0.731 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.708e-05/0.0022, allocations: 42.42 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.002291, allocations: 16.95 kB / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.696e-05/0.002388, allocations: 33.73 kB / 0.7311 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.002458, allocations: 26.88 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.002484, allocations: 4 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.002495, allocations: 4.562 kB / 0.7311 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.002513, allocations: 9.578 kB / 0.7311 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.00254, allocations: 10.39 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.079e-05/0.002631, allocations: 31.92 kB / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.575e-05/0.002647, allocations: 0 / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002647, allocations: 0 / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.002665, allocations: 0.5 kB / 0.7311 GB, free: 2.703 MB / 0.698 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.0004218/0.003087, allocations: 253.4 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.003124, allocations: 12.03 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.003155, allocations: 2.375 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.003259, allocations: 106.8 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.003285, allocations: 8.375 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.003294, allocations: 384 / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.003425, allocations: 71.52 kB / 0.7316 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.003433, allocations: 4.625 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.003443, allocations: 4 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.003448, allocations: 1.719 kB / 0.7316 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.477e-05/0.003483, allocations: 15.97 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.003762, allocations: 172.2 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.325e-05/0.003845, allocations: 40.33 kB / 0.7318 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.003867, allocations: 8.859 kB / 0.7318 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.003885, allocations: 5.062 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.00391, allocations: 34.56 kB / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.003911, allocations: 0 / 0.7319 GB, free: 1.895 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001441/0.004055, allocations: 50.25 kB / 0.7319 GB, free: 1.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.004091, allocations: 56.27 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.004156, allocations: 115.5 kB / 0.7321 GB, free: 1.648 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.004169, allocations: 26.45 kB / 0.7321 GB, free: 1.617 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.004216, allocations: 96.06 kB / 0.7322 GB, free: 1.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.004235, allocations: 4.641 kB / 0.7322 GB, free: 1.516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.004268, allocations: 18.38 kB / 0.7322 GB, free: 1.492 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.004362, allocations: 324.6 kB / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.004374, allocations: 0 / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.004386, allocations: 4 kB / 0.7325 GB, free: 1.164 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.004418, allocations: 20.84 kB / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.004421, allocations: 0.9688 kB / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.957e-05/0.004481, allocations: 54.7 kB / 0.7326 GB, free: 1.082 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.004493, allocations: 4 kB / 0.7326 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.004499, allocations: 4.438 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.004511, allocations: 1.391 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.004599, allocations: 11.98 kB / 0.7326 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.004601, allocations: 0.8125 kB / 0.7326 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.004625, allocations: 4 kB / 0.7326 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.004629, allocations: 0.9375 kB / 0.7326 GB, free: 1.059 MB / 0.698 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 5.739e-05/0.004686, allocations: 117.8 kB / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.004699, allocations: 4.969 kB / 0.7327 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.004722, allocations: 16.64 kB / 0.7327 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.004724, allocations: 0 / 0.7327 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.004726, allocations: 0.625 kB / 0.7327 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004729, allocations: 0 / 0.7327 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.313e-05/0.004812, allocations: 75.66 kB / 0.7328 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004813, allocations: 0 / 0.7328 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.004843, allocations: 15.92 kB / 0.7328 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.00485, allocations: 7.953 kB / 0.7328 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.004853, allocations: 5.156 kB / 0.7328 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.004857, allocations: 0 / 0.7328 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004858, allocations: 0 / 0.7328 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.004858, allocations: 0 / 0.7328 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.411e-05/0.004943, allocations: 145.4 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.004956, allocations: 11.94 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.299e-05/0.004989, allocations: 0 / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.00503, allocations: 11.98 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.005032, allocations: 0 / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.458e-05/0.005047, allocations: 17.84 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005047, allocations: 0 / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001172/0.005164, allocations: 12.62 kB / 0.733 GB, free: 0.582 MB / 0.698 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 7.082e-05/0.005235, allocations: 79.7 kB / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.778e-05/0.005303, allocations: 30.47 kB / 0.7331 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.005307, allocations: 0 / 0.7331 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.005334, allocations: 24.83 kB / 0.7332 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.005467, allocations: 7.625 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.005813, allocations: 133.8 kB / 0.7333 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.005848, allocations: 55.36 kB / 0.7334 GB, free: 212 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.005874, allocations: 1.781 kB / 0.7334 GB, free: 212 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.005929, allocations: 64.39 kB / 0.7334 GB, free: 148 kB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/0.00593, allocations: 0 / 0.7334 GB, free: 148 kB / 0.698 GB Notification: Performance of Templates: time 0.002467/0.008397, allocations: 0.987 MB / 0.7344 GB, free: 15.19 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.050827194005251]