Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.001434/0.001434, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001432/0.001432, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 443.4 MB / 0.7304 GB, free: 13.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 1.059 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002233/0.3838, allocations: 0.7897 MB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.385, allocations: 0.8701 MB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.385, allocations: 0 / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/0.3851, allocations: 3.938 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.55e-05/0.3852, allocations: 19.86 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3854, allocations: 31.95 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.3855, allocations: 95.75 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3856, allocations: 23.92 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.978e-05/0.3857, allocations: 31.92 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3858, allocations: 47.81 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3859, allocations: 8 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.3859, allocations: 8 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.3859, allocations: 27.84 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.386, allocations: 39.78 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.3862, allocations: 91.66 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3862, allocations: 0 / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3862, allocations: 3.938 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.3862, allocations: 0 / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000756/0.3869, allocations: 395.1 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.387, allocations: 8.031 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.387, allocations: 8.891 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3872, allocations: 176.3 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3872, allocations: 12.31 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.3873, allocations: 8.375 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.3876, allocations: 109.4 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3876, allocations: 0 / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3876, allocations: 0 / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3876, allocations: 3.984 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.388, allocations: 99.91 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.3886, allocations: 348.6 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.3893, allocations: 114.6 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.3895, allocations: 60.81 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3895, allocations: 0 / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.3895, allocations: 38.56 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.3895, allocations: 0 / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006837/0.3902, allocations: 185.4 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3903, allocations: 51.41 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3904, allocations: 125.7 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3904, allocations: 29.7 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.3905, allocations: 92.08 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.3905, allocations: 27.78 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.3906, allocations: 25.7 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3907, allocations: 326.8 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.3909, allocations: 43.95 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.3911, allocations: 44.97 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.3915, allocations: 100.7 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3915, allocations: 4 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004158/0.3919, allocations: 134 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3919, allocations: 4 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3919, allocations: 7.938 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3919, allocations: 0 / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.3921, allocations: 27.97 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3921, allocations: 80 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3922, allocations: 15.92 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3922, allocations: 7.969 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001161/0.3923, allocations: 117.8 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.3924, allocations: 7.953 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.3924, allocations: 12.38 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.3924, allocations: 8 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3924, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.3924, allocations: 7.922 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.3927, allocations: 197.6 kB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3927, allocations: 0 / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.3928, allocations: 23.97 kB / 1.221 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3928, allocations: 4 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3929, allocations: 0 / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3929, allocations: 0 / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3929, allocations: 4 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.3933, allocations: 243.3 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.3934, allocations: 89 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.3934, allocations: 3.984 kB / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.3936, allocations: 11.98 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.3937, allocations: 23.92 kB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.3937, allocations: 7.984 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.41e-05/0.3937, allocations: 91.27 kB / 1.221 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3937, allocations: 3.938 kB / 1.222 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002355/0.394, allocations: 16 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000166/0.3941, allocations: 99.25 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.3946, allocations: 107.9 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3946, allocations: 0 / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.3948, allocations: 59.88 kB / 1.222 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3951, allocations: 8 kB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.3957, allocations: 190.1 kB / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.396, allocations: 0.6962 MB / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.141e-05/0.3961, allocations: 12 kB / 1.223 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.3961, allocations: 23.42 kB / 1.223 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.3961, allocations: 0 / 1.223 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of Templates: time 0.004741/0.4009, allocations: 1.598 MB / 1.224 GB, free: 6.59 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.643818843178451]