Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001175/0.001175, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001867/0.001867, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.9577/0.9577, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.954/1.954, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.385e-05, allocations: 6.25 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.004898/0.004922, allocations: 0.7787 MB / 0.7608 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.006007, allocations: 0.9077 MB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.006053, allocations: 0.875 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.006086, allocations: 3.938 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.006185, allocations: 19.52 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.006345, allocations: 40.52 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.006463, allocations: 86.55 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.006554, allocations: 21.8 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.006668, allocations: 51.22 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.006742, allocations: 37.77 kB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.006768, allocations: 8 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.006782, allocations: 8 kB / 0.7619 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.006811, allocations: 28.92 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.006841, allocations: 23.97 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.006956, allocations: 64.23 kB / 0.7621 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006958, allocations: 0 / 0.7621 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006959, allocations: 5 kB / 0.7621 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.006962, allocations: 0 / 0.7621 GB, free: 4.582 MB / 0.7136 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.0034/0.01036, allocations: 281.5 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.0104, allocations: 8.031 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.01044, allocations: 17.8 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.449e-05/0.01053, allocations: 113.7 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.01055, allocations: 4.375 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.01057, allocations: 13.39 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.01075, allocations: 91.58 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.01076, allocations: 3.938 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.01077, allocations: 1.781 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01077, allocations: 4 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.01083, allocations: 23.36 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.01116, allocations: 201.3 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.01143, allocations: 72.45 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.01146, allocations: 16.86 kB / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.01148, allocations: 0 / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.0115, allocations: 34.56 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.0115, allocations: 0 / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001646/0.01167, allocations: 70.36 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.0117, allocations: 52.12 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.01177, allocations: 126.9 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.01178, allocations: 30.45 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.01182, allocations: 88.12 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.01184, allocations: 25.53 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.01188, allocations: 29.64 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.01197, allocations: 314.8 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.012, allocations: 11.98 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.01202, allocations: 5.188 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.01208, allocations: 40.75 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01208, allocations: 4.469 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.504e-05/0.01218, allocations: 50.44 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01219, allocations: 11.98 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.0122, allocations: 0.5 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.01221, allocations: 1.75 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.01229, allocations: 15.98 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.0123, allocations: 0.5469 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.01234, allocations: 4 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.01235, allocations: 14.73 kB / 0.7638 GB, free: 2.699 MB / 0.7136 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.428e-05/0.01241, allocations: 113.7 kB / 0.7639 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.01244, allocations: 4 kB / 0.7639 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.01246, allocations: 12.44 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01246, allocations: 3.984 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.01247, allocations: 4 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.01247, allocations: 0 / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.0126, allocations: 91.73 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0126, allocations: 0 / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.01266, allocations: 15.98 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01267, allocations: 7.938 kB / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.01267, allocations: 4.922 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01268, allocations: 0 / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01268, allocations: 0 / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.0128, allocations: 164.2 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.01282, allocations: 16.33 kB / 0.7642 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.01283, allocations: 0 / 0.7642 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/0.01472, allocations: 11.02 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.01485, allocations: 27.95 kB / 0.7642 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.01487, allocations: 4 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.54e-05/0.01489, allocations: 28.81 kB / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01489, allocations: 0 / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001257/0.01502, allocations: 12 kB / 0.7643 GB, free: 2.148 MB / 0.7136 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 9.004e-05/0.01511, allocations: 82.86 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.534e-05/0.01519, allocations: 28.84 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.0152, allocations: 0 / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.01523, allocations: 28.78 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.01537, allocations: 17.39 kB / 0.7644 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.01564, allocations: 172.9 kB / 0.7646 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.299e-05/0.01567, allocations: 60.31 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.01571, allocations: 16.36 kB / 0.7646 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.01578, allocations: 67.36 kB / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.01578, allocations: 0 / 0.7647 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of Templates: time 0.003382/0.01916, allocations: 1.693 MB / 0.7664 GB, free: 20 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.095636028796434]