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.001506/0.001506, allocations: 80.75 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.002103/0.002103, 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.1 MB / 203.8 MB, free: 5.488 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.429/2.429, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.305e-06/2.305e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.551e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00152/0.001545, allocations: 0.7835 MB / 0.8394 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.002465, allocations: 0.8975 MB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.00251, allocations: 0 / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.002544, allocations: 11.86 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.03e-05/0.002634, allocations: 15.86 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.002785, allocations: 39.89 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.002876, allocations: 83.81 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.002963, allocations: 23.97 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.003062, allocations: 51.89 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.003129, allocations: 39.89 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.003155, allocations: 8 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.003166, allocations: 8 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.003192, allocations: 19.91 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.00322, allocations: 31.91 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.003325, allocations: 63.72 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.003329, allocations: 4 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.332e-06/0.00333, allocations: 0 / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.003333, allocations: 4 kB / 0.8406 GB, free: 12.13 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.000352/0.003685, allocations: 280.6 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.003718, allocations: 12.62 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.00375, allocations: 12.92 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.003843, allocations: 117.7 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.003861, allocations: 384 / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.003877, allocations: 4.375 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.004032, allocations: 90.89 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.00404, allocations: 3.938 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.004049, allocations: 4 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.004055, allocations: 4 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.004096, allocations: 19.97 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.004384, allocations: 208.1 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.004603, allocations: 58.47 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.004637, allocations: 24.84 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.004652, allocations: 4 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.004672, allocations: 34.56 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.004674, allocations: 0 / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.000432/0.005106, allocations: 65.61 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.005138, allocations: 51.41 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.005213, allocations: 138.5 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.005223, allocations: 25.7 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.005257, allocations: 88.09 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.00528, allocations: 27.77 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.005314, allocations: 17.72 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.005387, allocations: 326.8 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.005407, allocations: 4 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.005427, allocations: 12.3 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.279e-05/0.005479, allocations: 44.89 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.005483, allocations: 3.938 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.678e-05/0.00556, allocations: 53.69 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.005573, allocations: 4 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005577, allocations: 0 / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.005588, allocations: 4 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.005664, allocations: 19.97 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.005667, allocations: 0 / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.005701, allocations: 8 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.005707, allocations: 0 / 0.8423 GB, free: 10.23 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 7.456e-05/0.005781, allocations: 129.7 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.0058, allocations: 8 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.005817, allocations: 8.438 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005819, allocations: 0 / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.00582, allocations: 0 / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005823, allocations: 4 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.005926, allocations: 89.86 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005927, allocations: 0 / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.005976, allocations: 19.98 kB / 0.8426 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.005979, allocations: 3.938 kB / 0.8426 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.005987, allocations: 3.984 kB / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005988, allocations: 3.938 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.00599, allocations: 0 / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.006106, allocations: 155.5 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.006119, allocations: 15.95 kB / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.006131, allocations: 8 kB / 0.8427 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.006179, allocations: 4 kB / 0.8428 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.006239, allocations: 27.95 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.006243, allocations: 0 / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.502e-05/0.006268, allocations: 24.83 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006268, allocations: 0 / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001293/0.006398, allocations: 15.95 kB / 0.8428 GB, free: 9.68 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.0001092/0.006507, allocations: 76.42 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.647e-05/0.006603, allocations: 40.84 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.006606, allocations: 0 / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.006648, allocations: 32.78 kB / 0.843 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.006824, allocations: 15.98 kB / 0.843 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.007115, allocations: 165 kB / 0.8431 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.007146, allocations: 59.34 kB / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.007186, allocations: 12 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.007259, allocations: 67.36 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.00726, allocations: 0 / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of Templates: time 0.003089/0.01035, allocations: 1.708 MB / 0.8449 GB, free: 7.461 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 -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.442835026886314]