Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001837/0.001837, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002656/0.002656, allocations: 163.7 kB / 22.46 MB, free: 5.375 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.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.937/2.937, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.604e-06/2.604e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.422e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002078/0.002113, allocations: 0.6629 MB / 0.9822 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003436, allocations: 0.8705 MB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.003475, allocations: 0 / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.00351, allocations: 3.938 kB / 0.983 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.706e-05/0.003587, allocations: 3.938 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.003781, allocations: 11.98 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.287e-05/0.003864, allocations: 23.92 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.003977, allocations: 4 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.426e-05/0.004071, allocations: 11.98 kB / 0.9831 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.00412, allocations: 8 kB / 0.9831 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.00414, allocations: 4 kB / 0.9831 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.004151, allocations: 4 kB / 0.9831 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.004173, allocations: 11.91 kB / 0.9831 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.004199, allocations: 7.938 kB / 0.9831 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.595e-05/0.004295, allocations: 23.84 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.004303, allocations: 4 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.004305, allocations: 0 / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.004309, allocations: 0 / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000516/0.004825, allocations: 258.3 kB / 0.9834 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.004867, allocations: 12.03 kB / 0.9834 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.004901, allocations: 8.891 kB / 0.9834 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.005022, allocations: 105.8 kB / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.005037, allocations: 4.375 kB / 0.9835 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.005052, allocations: 8.359 kB / 0.9835 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.005243, allocations: 42.25 kB / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.00525, allocations: 192 / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.005265, allocations: 8.359 kB / 0.9835 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.005269, allocations: 384 / 0.9835 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.005465, allocations: 43.84 kB / 0.9836 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.005833, allocations: 184.6 kB / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.005981, allocations: 38.55 kB / 0.9838 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-05/0.006081, allocations: 24.91 kB / 0.9838 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.006105, allocations: 0 / 0.9838 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.006139, allocations: 34.56 kB / 0.9839 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.00614, allocations: 0 / 0.9839 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004113/0.006551, allocations: 93.52 kB / 0.984 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.006612, allocations: 55.34 kB / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.006732, allocations: 97.84 kB / 0.9841 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.006751, allocations: 25.7 kB / 0.9841 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.006826, allocations: 92.09 kB / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.006845, allocations: 0 / 0.9842 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.006878, allocations: 9.719 kB / 0.9842 GB, free: 9 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.007053, allocations: 322.8 kB / 0.9845 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.007143, allocations: 16.11 kB / 0.9845 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.007223, allocations: 15.98 kB / 0.9846 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.007398, allocations: 40.77 kB / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.0074, allocations: 0 / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002232/0.007623, allocations: 69.61 kB / 0.9847 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.007639, allocations: 8.094 kB / 0.9847 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.007647, allocations: 3.938 kB / 0.9847 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.007662, allocations: 0 / 0.9847 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.007764, allocations: 11.98 kB / 0.9847 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.007769, allocations: 0 / 0.9847 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.007822, allocations: 7.984 kB / 0.9847 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.00783, allocations: 3.938 kB / 0.9847 GB, free: 8.492 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.675e-05/0.007926, allocations: 117.8 kB / 0.9848 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.00795, allocations: 0 / 0.9848 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.007975, allocations: 11.25 kB / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.007978, allocations: 0 / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.007983, allocations: 0 / 0.9848 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007985, allocations: 4 kB / 0.9848 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.008135, allocations: 105.3 kB / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008136, allocations: 0 / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.008198, allocations: 11.92 kB / 0.9849 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.0082, allocations: 0 / 0.9849 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.008211, allocations: 4 kB / 0.9849 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.008214, allocations: 3.938 kB / 0.9849 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008215, allocations: 0 / 0.9849 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.008536, allocations: 163.5 kB / 0.9851 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.008545, allocations: 3.953 kB / 0.9851 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.008557, allocations: 0 / 0.9851 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.008638, allocations: 15.92 kB / 0.9851 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.008679, allocations: 8.125 kB / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.008682, allocations: 0 / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.854e-05/0.008731, allocations: 83.27 kB / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.008731, allocations: 0 / 0.9852 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002349/0.008966, allocations: 8.031 kB / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001399/0.009106, allocations: 95.23 kB / 0.9853 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.009327, allocations: 39.91 kB / 0.9853 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.009331, allocations: 4 kB / 0.9853 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.009421, allocations: 15.97 kB / 0.9854 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.009746, allocations: 12.12 kB / 0.9854 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.01008, allocations: 112.8 kB / 0.9855 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.01015, allocations: 55.36 kB / 0.9855 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.01017, allocations: 0 / 0.9855 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.0102, allocations: 12.48 kB / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/0.0102, allocations: 4 kB / 0.9855 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of Templates: time 0.003317/0.01352, allocations: 459 kB / 0.986 GB, free: 7.074 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 8.341755889356136]