Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001603/0.001603, allocations: 79.28 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.001755/0.001755, allocations: 163.2 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.521/1.521, allocations: 177.1 MB / 202.8 MB, free: 9.148 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.894/2.894, allocations: 377.8 MB / 0.6221 GB, free: 12.55 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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.843e-05, allocations: 4.953 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001973/0.002012, allocations: 0.7564 MB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003268, allocations: 0.8898 MB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.003318, allocations: 0 / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.00336, allocations: 7.922 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.445e-05/0.003444, allocations: 11.88 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.003631, allocations: 43.81 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.003772, allocations: 91.77 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.003892, allocations: 27.91 kB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.004001, allocations: 47.91 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.076e-05/0.004092, allocations: 35.94 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.004128, allocations: 8 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.004146, allocations: 8 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.004179, allocations: 23.91 kB / 0.9833 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.004218, allocations: 19.92 kB / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.004372, allocations: 99.69 kB / 0.9834 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004374, allocations: 0 / 0.9834 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/0.004376, allocations: 4 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.004383, allocations: 0 / 0.9835 GB, free: 9.855 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006848/0.005068, allocations: 318 kB / 0.9838 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.005106, allocations: 8.031 kB / 0.9838 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.005146, allocations: 8.891 kB / 0.9838 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.005288, allocations: 121.6 kB / 0.9839 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.005308, allocations: 8.375 kB / 0.9839 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.005327, allocations: 4.375 kB / 0.9839 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.005679, allocations: 113.2 kB / 0.984 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.00569, allocations: 7.875 kB / 0.984 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.005711, allocations: 8 kB / 0.984 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.005716, allocations: 0 / 0.984 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.006128, allocations: 91.91 kB / 0.9841 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.006669, allocations: 272.3 kB / 0.9844 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/0.007362, allocations: 126.5 kB / 0.9845 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.007581, allocations: 52.81 kB / 0.9845 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.0076, allocations: 3.984 kB / 0.9845 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.007638, allocations: 34.56 kB / 0.9846 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.007639, allocations: 0 / 0.9846 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0007422/0.008382, allocations: 185.5 kB / 0.9848 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.008431, allocations: 51.41 kB / 0.9848 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.008553, allocations: 125.8 kB / 0.9849 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.008576, allocations: 25.7 kB / 0.9849 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.008645, allocations: 92.09 kB / 0.985 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.00868, allocations: 27.78 kB / 0.9851 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.008735, allocations: 25.66 kB / 0.9851 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.008895, allocations: 326.8 kB / 0.9854 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.009108, allocations: 43.95 kB / 0.9854 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.0093, allocations: 43.95 kB / 0.9855 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.0097, allocations: 108.8 kB / 0.9856 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009702, allocations: 4 kB / 0.9856 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004786/0.01018, allocations: 129.6 kB / 0.9857 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.0102, allocations: 8 kB / 0.9857 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.0102, allocations: 3.938 kB / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.01022, allocations: 0 / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.01041, allocations: 27.91 kB / 0.9858 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01042, allocations: 0 / 0.9858 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.01057, allocations: 23.91 kB / 0.9858 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.01058, allocations: 0 / 0.9858 GB, free: 7.305 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: 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.0001124/0.01069, allocations: 117.8 kB / 0.9859 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.01072, allocations: 7.953 kB / 0.9859 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.01076, allocations: 16.44 kB / 0.9859 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01076, allocations: 0 / 0.9859 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.01077, allocations: 3.984 kB / 0.9859 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.01077, allocations: 0 / 0.9859 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.01097, allocations: 137.2 kB / 0.986 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01097, allocations: 4 kB / 0.986 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.01115, allocations: 23.97 kB / 0.9861 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01115, allocations: 0 / 0.9861 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.01117, allocations: 4 kB / 0.9861 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01117, allocations: 0 / 0.9861 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01117, allocations: 0 / 0.9861 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.01171, allocations: 235.8 kB / 0.9863 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.01173, allocations: 11.95 kB / 0.9863 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.01175, allocations: 4 kB / 0.9863 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.01191, allocations: 11.98 kB / 0.9863 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.012, allocations: 19.97 kB / 0.9863 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.01201, allocations: 7.984 kB / 0.9864 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.01208, allocations: 91.27 kB / 0.9864 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01208, allocations: 0 / 0.9864 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002546/0.01233, allocations: 19.94 kB / 0.9865 GB, free: 6.547 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: 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.0001558/0.01249, allocations: 99.78 kB / 0.9866 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.01296, allocations: 103.9 kB / 0.9867 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01297, allocations: 0 / 0.9867 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.01321, allocations: 63.94 kB / 0.9867 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.01355, allocations: 15.94 kB / 0.9867 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.01403, allocations: 173.4 kB / 0.9869 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.758e-05/0.01412, allocations: 75.58 kB / 0.987 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.544e-05/0.01418, allocations: 12 kB / 0.987 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.01425, allocations: 20.48 kB / 0.987 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.01426, allocations: 3.938 kB / 0.987 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.004885/0.01914, allocations: 1.702 MB / 0.9887 GB, free: 4.25 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.322200685739517]