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.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.001501/0.001501, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001875/0.001875, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9799/0.9799, allocations: 177.1 MB / 203.8 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.426/2.426, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.523e-06/1.523e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.145e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001316/0.001337, allocations: 0.7125 MB / 0.8393 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008144/0.002151, allocations: 0.8819 MB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.002186, allocations: 0 / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.002213, allocations: 3.938 kB / 0.8402 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.002285, allocations: 4 kB / 0.8402 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.002422, allocations: 35.84 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.002488, allocations: 43.89 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.144e-05/0.00256, allocations: 8 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.002641, allocations: 31.91 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.002696, allocations: 19.97 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.002716, allocations: 4 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.002725, allocations: 4 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.002745, allocations: 15.92 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.002763, allocations: 8 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.002921, allocations: 39.81 kB / 0.8404 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.002924, allocations: 4 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.72e-07/0.002925, allocations: 7.938 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.002928, allocations: 0 / 0.8404 GB, free: 12.41 MB / 0.8073 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.0002833/0.003211, allocations: 248.9 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.003245, allocations: 8.625 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.003275, allocations: 4.938 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.127e-05/0.003346, allocations: 105.8 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.003363, allocations: 4.375 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.003373, allocations: 4.375 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.003483, allocations: 66.92 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.003489, allocations: 7.938 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.003496, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.0035, allocations: 4 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.101e-05/0.003531, allocations: 23.91 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.00374, allocations: 160.2 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.577e-05/0.003806, allocations: 38.62 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.003822, allocations: 8.859 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.003837, allocations: 7.938 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.003854, allocations: 30.56 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.003855, allocations: 7.938 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001086/0.003963, allocations: 57.8 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.003989, allocations: 51.41 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.966e-05/0.004038, allocations: 110.7 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.004048, allocations: 25.7 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.004078, allocations: 96.02 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.004093, allocations: 11.91 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.004121, allocations: 21.69 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.004187, allocations: 314.8 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.004202, allocations: 4 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.004215, allocations: 8 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.004256, allocations: 24.77 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004258, allocations: 4 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.397e-05/0.004312, allocations: 45.62 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.004323, allocations: 6.188 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.004326, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.004335, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.0044, allocations: 11.98 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.004402, allocations: 0 / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.004425, allocations: 8 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.004431, allocations: 4 kB / 0.8418 GB, free: 10.75 MB / 0.8073 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.672e-05/0.004487, allocations: 113.8 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.004502, allocations: 3.938 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.004522, allocations: 15.98 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.004524, allocations: 0 / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.004525, allocations: 0 / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004527, allocations: 0 / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.123e-05/0.004609, allocations: 73.88 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.004609, allocations: 0 / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.004639, allocations: 12 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.00464, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.004648, allocations: 11.92 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.00465, allocations: 3.984 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004651, allocations: 256 / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.018e-05/0.004731, allocations: 135.5 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.004737, allocations: 4 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.004749, allocations: 11.92 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.38e-05/0.004783, allocations: 7.938 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.004818, allocations: 11.98 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.004821, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.366e-05/0.004834, allocations: 24.77 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004834, allocations: 0 / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001137/0.004948, allocations: 11.95 kB / 0.8423 GB, free: 10.27 MB / 0.8073 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 6.168e-05/0.00501, allocations: 76.36 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.643e-05/0.005066, allocations: 25.08 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.005068, allocations: 4 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.299e-05/0.005091, allocations: 20.88 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.005218, allocations: 11.98 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.005421, allocations: 128.5 kB / 0.8425 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.005453, allocations: 59.34 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.005477, allocations: 4 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.005526, allocations: 55.38 kB / 0.8426 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.005526, allocations: 0 / 0.8426 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of Templates: time 0.002297/0.007823, allocations: 0.9684 MB / 0.8436 GB, free: 8.863 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] 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","",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.193801838904619]