Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00193/0.00193, allocations: 109.5 kB / 19.7 MB, free: 2.266 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.002683/0.002683, allocations: 211.1 kB / 23.01 MB, free: 5.121 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 8.082 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.239/3.239, allocations: 0.505 GB / 0.8108 GB, free: 22.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 65.22 kB / 1.178 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3473, allocations: 180.2 MB / 1.354 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002051/0.3493, allocations: 0.7897 MB / 1.355 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3506, allocations: 0.8938 MB / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.3507, allocations: 0 / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.3507, allocations: 7.875 kB / 1.356 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.3508, allocations: 7.938 kB / 1.356 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.351, allocations: 39.88 kB / 1.356 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.3511, allocations: 83.83 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3513, allocations: 19.98 kB / 1.356 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.886e-05/0.3514, allocations: 43.84 kB / 1.356 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3515, allocations: 51.83 kB / 1.356 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.3515, allocations: 8 kB / 1.356 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.96e-05/0.3515, allocations: 11.94 kB / 1.356 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.3515, allocations: 19.91 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.3516, allocations: 43.78 kB / 1.356 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3517, allocations: 83.67 kB / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3517, allocations: 0 / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.674e-06/0.3517, allocations: 0 / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3517, allocations: 0 / 1.356 GB, free: 5.914 MB / 1.045 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.0006662/0.3524, allocations: 329.9 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3525, allocations: 12.03 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.3525, allocations: 8.891 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3526, allocations: 118.4 kB / 1.357 GB, free: 5.402 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3527, allocations: 4.375 kB / 1.357 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3527, allocations: 8.375 kB / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.353, allocations: 107.7 kB / 1.357 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.353, allocations: 7.938 kB / 1.357 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.353, allocations: 0 / 1.357 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.353, allocations: 0 / 1.357 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.3534, allocations: 99.84 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.354, allocations: 311.8 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.3547, allocations: 122.5 kB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.3549, allocations: 56.81 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.3549, allocations: 0 / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3549, allocations: 34.56 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3549, allocations: 0 / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006675/0.3556, allocations: 185.5 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3556, allocations: 55.34 kB / 1.358 GB, free: 4.344 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3557, allocations: 129.7 kB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3558, allocations: 25.7 kB / 1.358 GB, free: 4.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.3558, allocations: 100.1 kB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.3559, allocations: 19.8 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.3559, allocations: 21.7 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3561, allocations: 322.8 kB / 1.358 GB, free: 3.703 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.3563, allocations: 47.95 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.3564, allocations: 48.25 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.3568, allocations: 92.78 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3568, allocations: 0 / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004112/0.3572, allocations: 145.5 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3572, allocations: 7.938 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3572, allocations: 0 / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3572, allocations: 3.984 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3574, allocations: 23.97 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3574, allocations: 0 / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3575, allocations: 19.86 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.3575, allocations: 19.92 kB / 1.359 GB, free: 3.293 MB / 1.045 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.0001157/0.3576, allocations: 121.7 kB / 1.359 GB, free: 3.164 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.3577, allocations: 3.953 kB / 1.359 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.3577, allocations: 12.38 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3577, allocations: 4 kB / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3577, allocations: 0 / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3577, allocations: 3.938 kB / 1.359 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3579, allocations: 168.7 kB / 1.359 GB, free: 2.934 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3579, allocations: 0 / 1.359 GB, free: 2.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.3581, allocations: 27.97 kB / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3581, allocations: 0 / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.3581, allocations: 3.938 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3581, allocations: 4 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3581, allocations: 0 / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.3586, allocations: 239.3 kB / 1.359 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.3586, allocations: 7.891 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3586, allocations: 7.984 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3588, allocations: 11.98 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.3588, allocations: 23.91 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3588, allocations: 4 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.425e-05/0.3589, allocations: 95.27 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3589, allocations: 0 / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002304/0.3592, allocations: 16 kB / 1.359 GB, free: 2.484 MB / 1.045 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.0001306/0.3593, allocations: 99.19 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.3597, allocations: 103.9 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3597, allocations: 4 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.3599, allocations: 55.95 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.3602, allocations: 13.8 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.3607, allocations: 192.1 kB / 1.36 GB, free: 1.984 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3611, allocations: 0.6962 MB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.3611, allocations: 19.42 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.3612, allocations: 4 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of Templates: time 0.003058/0.3642, allocations: 1.244 MB / 1.362 GB, free: 4 kB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.19465516199125]