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.001728/0.001728, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.0016/0.0016, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.487/1.487, allocations: 177.2 MB / 203.9 MB, free: 5.574 MB / 186.7 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.854/2.854, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 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 3.847e-06/3.847e-06, allocations: 0 / 0.8108 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.709e-05/5.094e-05, allocations: 3.25 kB / 0.8108 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.003124/0.003175, allocations: 0.7609 MB / 0.8116 GB, free: 200 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.004746, allocations: 0.883 MB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.004813, allocations: 0 / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.004855, allocations: 4.781 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.004963, allocations: 19.8 kB / 0.8124 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.005173, allocations: 36.66 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.005342, allocations: 92.62 kB / 0.8126 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.005484, allocations: 23.98 kB / 0.8126 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.005639, allocations: 55.88 kB / 0.8126 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.559e-05/0.005735, allocations: 37.62 kB / 0.8127 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.005766, allocations: 11.94 kB / 0.8127 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.029e-05/0.005787, allocations: 8 kB / 0.8127 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.005815, allocations: 15.98 kB / 0.8127 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.00587, allocations: 24.81 kB / 0.8127 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.006059, allocations: 99.64 kB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006061, allocations: 0 / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.41e-07/0.006061, allocations: 0.625 kB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.006066, allocations: 0 / 0.8128 GB, free: 14.88 MB / 0.7292 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.0007226/0.006788, allocations: 319.4 kB / 0.8131 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.006829, allocations: 8.031 kB / 0.8131 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.006893, allocations: 14.14 kB / 0.8132 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.007057, allocations: 125.6 kB / 0.8133 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.007081, allocations: 4.375 kB / 0.8133 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.007102, allocations: 13 kB / 0.8133 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.007455, allocations: 107.1 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.007467, allocations: 3.938 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.007482, allocations: 0.6562 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.00749, allocations: 5.25 kB / 0.8134 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.007885, allocations: 96.86 kB / 0.8135 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.008484, allocations: 273.1 kB / 0.8138 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/0.009159, allocations: 115.4 kB / 0.8139 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.009382, allocations: 54.06 kB / 0.8139 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.009407, allocations: 10.05 kB / 0.8139 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.00944, allocations: 34.5 kB / 0.814 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.009441, allocations: 0 / 0.814 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0008654/0.01031, allocations: 183.7 kB / 0.8141 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.01036, allocations: 55.41 kB / 0.8142 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.01049, allocations: 125.8 kB / 0.8143 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.01052, allocations: 26.3 kB / 0.8143 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.0106, allocations: 104 kB / 0.8144 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.01063, allocations: 16.64 kB / 0.8145 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.01069, allocations: 25.7 kB / 0.8145 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.01088, allocations: 324.4 kB / 0.8148 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.01108, allocations: 43.95 kB / 0.8148 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.01128, allocations: 49.8 kB / 0.8149 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.01168, allocations: 103 kB / 0.815 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01168, allocations: 0 / 0.815 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004632/0.01214, allocations: 138.5 kB / 0.8151 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.01216, allocations: 4 kB / 0.8151 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01216, allocations: 1.594 kB / 0.8151 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.01219, allocations: 0 / 0.8151 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.01238, allocations: 27.91 kB / 0.8151 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01238, allocations: 4.531 kB / 0.8151 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.01251, allocations: 20.61 kB / 0.8152 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.01252, allocations: 3.984 kB / 0.8152 GB, free: 12.34 MB / 0.7292 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.000117/0.01264, allocations: 123 kB / 0.8153 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.01268, allocations: 11.95 kB / 0.8153 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.01271, allocations: 9.406 kB / 0.8153 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01272, allocations: 4 kB / 0.8153 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01272, allocations: 0 / 0.8153 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.01272, allocations: 0.5312 kB / 0.8153 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.01293, allocations: 138.6 kB / 0.8154 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01293, allocations: 0 / 0.8154 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.01309, allocations: 23.97 kB / 0.8155 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.0131, allocations: 0.8438 kB / 0.8155 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.01311, allocations: 7.984 kB / 0.8155 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01312, allocations: 0.9062 kB / 0.8155 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01312, allocations: 0 / 0.8155 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.01366, allocations: 240.6 kB / 0.8157 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.01367, allocations: 8.609 kB / 0.8157 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.01369, allocations: 0 / 0.8157 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.01385, allocations: 14.42 kB / 0.8157 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.01394, allocations: 19.97 kB / 0.8157 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01396, allocations: 4 kB / 0.8157 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.01404, allocations: 99.27 kB / 0.8158 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01404, allocations: 0 / 0.8158 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002529/0.01429, allocations: 12 kB / 0.8159 GB, free: 11.59 MB / 0.7292 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.0001409/0.01443, allocations: 99.55 kB / 0.8159 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.0149, allocations: 111.8 kB / 0.8161 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0149, allocations: 0 / 0.8161 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.01513, allocations: 55.94 kB / 0.8161 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.01547, allocations: 16.56 kB / 0.8161 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.01597, allocations: 185.8 kB / 0.8163 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.051e-05/0.01606, allocations: 72.7 kB / 0.8164 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.276e-05/0.01614, allocations: 16.53 kB / 0.8164 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.01622, allocations: 24.48 kB / 0.8164 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of SimCode: time 9.21e-07/0.01622, allocations: 3.938 kB / 0.8164 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.005477/0.02169, allocations: 1.718 MB / 0.8181 GB, free: 9.301 MB / 0.7292 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: 7.772162873996422]