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.001174/0.001174, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001256/0.001256, allocations: 181 kB / 23.36 MB, free: 1.133 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.017/1.017, allocations: 177.2 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 2.561/2.561, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.38e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002715/0.002749, allocations: 0.8172 MB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.004232, allocations: 0.9091 MB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.0043, allocations: 0 / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.769e-05/0.004347, allocations: 7.875 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.004477, allocations: 7.938 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.004727, allocations: 47.77 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004877, allocations: 83.81 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.004994, allocations: 27.97 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.005148, allocations: 55.88 kB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.005254, allocations: 43.88 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.005285, allocations: 8 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.005303, allocations: 8 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.005335, allocations: 15.92 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.005376, allocations: 27.97 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.005526, allocations: 59.73 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.00553, allocations: 0 / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.164e-06/0.005532, allocations: 0 / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.005539, allocations: 3.938 kB / 0.8407 GB, free: 12.03 MB / 0.8073 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.0005254/0.006064, allocations: 292.6 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.006121, allocations: 12.62 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.006176, allocations: 8.938 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.006338, allocations: 125.7 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.006366, allocations: 384 / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.006386, allocations: 4.375 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.006635, allocations: 94.27 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.006646, allocations: 3.938 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.006658, allocations: 4 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.006666, allocations: 4 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.985e-05/0.006736, allocations: 19.92 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.007175, allocations: 196.2 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.007522, allocations: 66.39 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.007565, allocations: 20.86 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.007581, allocations: 4 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.007613, allocations: 38.55 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.365e-06/0.007615, allocations: 0 / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002073/0.007822, allocations: 65.89 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.007859, allocations: 51.41 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.00795, allocations: 126.7 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.007966, allocations: 25.7 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.008013, allocations: 103.9 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.008041, allocations: 19.8 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.00809, allocations: 25.69 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.008191, allocations: 322.8 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-05/0.008224, allocations: 4 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.008252, allocations: 8 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.6e-05/0.008338, allocations: 32.81 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.008342, allocations: 3.938 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001223/0.008464, allocations: 61.67 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.00848, allocations: 4 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008485, allocations: 0 / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.0085, allocations: 0 / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.008626, allocations: 27.92 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.008629, allocations: 0 / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.008682, allocations: 7.984 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.00869, allocations: 0 / 0.8424 GB, free: 10.12 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: 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 8.237e-05/0.008773, allocations: 117.8 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.008805, allocations: 7.984 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.008832, allocations: 12.42 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.008835, allocations: 0 / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.008839, allocations: 4 kB / 0.8426 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.008842, allocations: 4 kB / 0.8426 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.009003, allocations: 93.84 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.009005, allocations: 0 / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.009098, allocations: 15.98 kB / 0.8427 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.009103, allocations: 3.938 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.009112, allocations: 4 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.009115, allocations: 4 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.009117, allocations: 7.922 kB / 0.8427 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.009286, allocations: 147.5 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.009301, allocations: 11.83 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.009319, allocations: 12 kB / 0.8428 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.009406, allocations: 4 kB / 0.8428 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.009485, allocations: 19.97 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.009494, allocations: 3.984 kB / 0.8429 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.009525, allocations: 28.77 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.009525, allocations: 4 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00023/0.009755, allocations: 11.95 kB / 0.8429 GB, free: 9.574 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: 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.0001247/0.00988, allocations: 76.42 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.01, allocations: 44.78 kB / 0.843 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.01001, allocations: 0 / 0.843 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.01007, allocations: 28.83 kB / 0.8431 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.0103, allocations: 16.69 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.01068, allocations: 164.9 kB / 0.8432 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.535e-05/0.01072, allocations: 63.34 kB / 0.8433 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.588e-05/0.01079, allocations: 8 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.0109, allocations: 67.36 kB / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of SimCode: time 1.002e-06/0.0109, allocations: 0 / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of Templates: time 0.003419/0.01432, allocations: 1.712 MB / 0.845 GB, free: 7.355 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] 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","",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.479428282007575]