Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.0009888/0.0009888, 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.001468/0.001468, 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 0.9818/0.9818, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.411/2.411, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.097e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001371/0.001392, allocations: 0.7717 MB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008757/0.002267, allocations: 0.9014 MB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.002307, allocations: 3.938 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.002337, allocations: 7.922 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.002421, allocations: 11.86 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.002561, allocations: 39.89 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.002654, allocations: 91.75 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.002735, allocations: 19.97 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.002848, allocations: 51.89 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.002913, allocations: 43.88 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.002937, allocations: 8 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.002951, allocations: 8 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.002973, allocations: 15.98 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.003, allocations: 23.91 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.003102, allocations: 71.72 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003104, allocations: 0 / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003105, allocations: 0 / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.003109, allocations: 0 / 0.8406 GB, free: 12.09 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.0003499/0.003459, allocations: 284.6 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.003494, allocations: 8.625 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.003526, allocations: 16.86 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.003611, allocations: 121.7 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.003632, allocations: 8.375 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.003647, allocations: 8.359 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.003807, allocations: 90.89 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.003816, allocations: 3.938 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.003824, allocations: 0 / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.00383, allocations: 0 / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.003875, allocations: 23.98 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.004173, allocations: 204.1 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.004398, allocations: 62.47 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.004428, allocations: 20.84 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.004443, allocations: 4 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.004464, allocations: 30.56 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.004465, allocations: 0 / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.000147/0.004612, allocations: 69.61 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.004644, allocations: 55.41 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.004716, allocations: 130.6 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.004727, allocations: 25.7 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.004761, allocations: 88.09 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.004784, allocations: 23.78 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.004817, allocations: 21.7 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.004895, allocations: 322.8 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.004915, allocations: 4 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.004935, allocations: 20.3 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.004986, allocations: 44.84 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.004989, allocations: 3.938 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.612e-05/0.005065, allocations: 57.67 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.005077, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.005083, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.005097, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.005165, allocations: 15.98 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.005168, allocations: 0 / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.005203, allocations: 11.98 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.005209, allocations: 0 / 0.8423 GB, free: 10.18 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,add1.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 6.391e-05/0.005272, allocations: 121.7 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.00529, allocations: 7.984 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.856e-05/0.005309, allocations: 8.438 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.005312, allocations: 4 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.005314, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005316, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.612e-05/0.005412, allocations: 85.86 kB / 0.8425 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005413, allocations: 0 / 0.8425 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.005459, allocations: 23.98 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.005461, allocations: 3.938 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.005466, allocations: 0 / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.005469, allocations: 4 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00547, allocations: 0 / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.686e-05/0.005567, allocations: 155.5 kB / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.005578, allocations: 15.81 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.005588, allocations: 4 kB / 0.8427 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.005651, allocations: 8 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.005699, allocations: 23.97 kB / 0.8428 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.005705, allocations: 3.984 kB / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.789e-05/0.005723, allocations: 20.84 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005723, allocations: 0 / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001216/0.005845, allocations: 19.95 kB / 0.8428 GB, free: 9.641 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 (add1.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.0003282/0.006173, allocations: 83.39 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.807e-05/0.006251, allocations: 32.78 kB / 0.8429 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.006253, allocations: 4 kB / 0.8429 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.006292, allocations: 36.78 kB / 0.843 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.006432, allocations: 22.48 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.006688, allocations: 165 kB / 0.8431 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.006721, allocations: 63.34 kB / 0.8432 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.006757, allocations: 8 kB / 0.8432 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.006828, allocations: 67.36 kB / 0.8433 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of SimCode: time 3.61e-07/0.006829, allocations: 0 / 0.8433 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of Templates: time 0.00335/0.01018, allocations: 1.706 MB / 0.8449 GB, free: 7.418 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.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.208127931691706]