Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.001258/0.001258, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001864/0.003122, allocations: 435.8 kB / 10.33 MB, free: 368 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.001132/0.001132, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.00259, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9949/0.9949, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1013/1.096, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.476/2.476, allocations: 446.7 MB / 0.6745 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2346/2.711, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.446e-06/3.446e-06, allocations: 3.938 kB / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.42e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.00317/0.003204, allocations: 0.7525 MB / 0.8191 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.004326, allocations: 0.8509 MB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.004367, allocations: 4 kB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.004397, allocations: 3.938 kB / 0.8199 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.892e-05/0.004456, allocations: 7.875 kB / 0.82 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.72e-05/0.004523, allocations: 15.97 kB / 0.82 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.004624, allocations: 43.86 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.004729, allocations: 4 kB / 0.82 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.004841, allocations: 39.89 kB / 0.8201 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.00489, allocations: 11.98 kB / 0.8201 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.004914, allocations: 4 kB / 0.8201 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.004925, allocations: 4 kB / 0.8201 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.004944, allocations: 11.94 kB / 0.8201 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.004973, allocations: 8 kB / 0.8201 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.389e-05/0.005067, allocations: 23.86 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-05/0.005086, allocations: 0 / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.292e-06/0.005088, allocations: 0 / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.005104, allocations: 0 / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004102/0.005515, allocations: 256.5 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.005553, allocations: 16.56 kB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.005582, allocations: 8.922 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.005687, allocations: 113.7 kB / 0.8205 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.005701, allocations: 8.375 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.00571, allocations: 384 / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.005855, allocations: 62.94 kB / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005863, allocations: 192 / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.005871, allocations: 4.375 kB / 0.8206 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.005876, allocations: 384 / 0.8206 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3e-05/0.005906, allocations: 7.938 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.006147, allocations: 152.2 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.637e-05/0.006213, allocations: 30.62 kB / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.006237, allocations: 12.86 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.006247, allocations: 4 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.006271, allocations: 30.56 kB / 0.8208 GB, free: 260 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006272, allocations: 0 / 0.8208 GB, free: 260 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0001387/0.00641, allocations: 49.66 kB / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.006443, allocations: 51.41 kB / 0.8209 GB, free: 140 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.006511, allocations: 114.7 kB / 0.821 GB, free: 12 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.006542, allocations: 25.7 kB / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.00658, allocations: 88.12 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.006602, allocations: 11.89 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.006639, allocations: 13.72 kB / 0.8211 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.006736, allocations: 322.8 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.006749, allocations: 0 / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.481e-05/0.006764, allocations: 8 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/0.006797, allocations: 12.84 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.006799, allocations: 7.875 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.92e-05/0.006868, allocations: 45.97 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.006882, allocations: 4 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006887, allocations: 48 / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.006901, allocations: 7.922 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.006992, allocations: 11.98 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.006995, allocations: 4 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.007026, allocations: 4 kB / 0.8215 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.007032, allocations: 4 kB / 0.8215 GB, free: 15.42 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.382e-05/0.007095, allocations: 109.8 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.007117, allocations: 4 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.007143, allocations: 8 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.007146, allocations: 3.938 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.007148, allocations: 0 / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007151, allocations: 0 / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.007269, allocations: 73.88 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.007271, allocations: 4 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.007317, allocations: 15.92 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.007329, allocations: 15.89 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.007331, allocations: 0 / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.007335, allocations: 0 / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007336, allocations: 0 / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.007339, allocations: 3.938 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.007449, allocations: 135.5 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.007458, allocations: 0 / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.007518, allocations: 7.984 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.00755, allocations: 8 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.007555, allocations: 3.938 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.91e-05/0.007574, allocations: 17.14 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.007574, allocations: 0 / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001884/0.007762, allocations: 12 kB / 0.8219 GB, free: 14.96 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000135/0.007897, allocations: 76.36 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.392e-05/0.007971, allocations: 16.84 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.007979, allocations: 4 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.182e-05/0.008001, allocations: 12.84 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.008217, allocations: 15.94 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.008706, allocations: 128.5 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.879e-05/0.008755, allocations: 67.28 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.687e-05/0.008782, allocations: 0 / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.008841, allocations: 55.38 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.008842, allocations: 0 / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of Templates: time 0.002936/0.01178, allocations: 0.7046 MB / 0.823 GB, free: 13.83 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.385455225594342]