Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001048/0.001048, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001463/0.001463, allocations: 169 kB / 23.27 MB, free: 1.223 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.9258/0.9258, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.377/2.377, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.025e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001489/0.001519, allocations: 0.7259 MB / 0.8905 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007919/0.002311, allocations: 0.8431 MB / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.00235, allocations: 4 kB / 0.8914 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.002377, allocations: 3.984 kB / 0.8914 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.951e-05/0.002446, allocations: 11.88 kB / 0.8914 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.725e-05/0.002503, allocations: 11.98 kB / 0.8914 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.002569, allocations: 35.92 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.002657, allocations: 15.92 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.169e-05/0.002738, allocations: 19.98 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.002774, allocations: 11.98 kB / 0.8915 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.002791, allocations: 4 kB / 0.8915 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-06/0.002799, allocations: 8 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.002819, allocations: 15.91 kB / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.002839, allocations: 8 kB / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.929e-05/0.002919, allocations: 39.78 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.002922, allocations: 3.984 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.52e-07/0.002923, allocations: 0 / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.002927, allocations: 0 / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003152/0.003242, allocations: 380.5 kB / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.003303, allocations: 8.625 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.00333, allocations: 8.891 kB / 0.8919 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.655e-05/0.003396, allocations: 112.6 kB / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.003406, allocations: 384 / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-06/0.003412, allocations: 4.375 kB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.003521, allocations: 62.94 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.003527, allocations: 192 / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-06/0.003533, allocations: 384 / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.003538, allocations: 384 / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.00356, allocations: 11.88 kB / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.003804, allocations: 248.3 kB / 0.8923 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.003862, allocations: 39.11 kB / 0.8924 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.003881, allocations: 15.69 kB / 0.8924 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.003889, allocations: 0 / 0.8924 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.003907, allocations: 37.39 kB / 0.8924 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.003907, allocations: 3.938 kB / 0.8924 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001094/0.004017, allocations: 45.91 kB / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.004042, allocations: 55.41 kB / 0.8925 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.351e-05/0.004105, allocations: 165.9 kB / 0.8927 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.004113, allocations: 25.7 kB / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.004156, allocations: 134.8 kB / 0.8928 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.004171, allocations: 11.91 kB / 0.8928 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.004206, allocations: 31.31 kB / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.004338, allocations: 496.1 kB / 0.8934 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.004355, allocations: 0 / 0.8934 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.00437, allocations: 11.97 kB / 0.8934 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.004401, allocations: 15.62 kB / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.004405, allocations: 0 / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.944e-05/0.004464, allocations: 45.69 kB / 0.8934 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.004476, allocations: 4 kB / 0.8934 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004481, allocations: 0 / 0.8934 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.004491, allocations: 3.938 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.004555, allocations: 8 kB / 0.8934 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.004559, allocations: 4 kB / 0.8934 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.00458, allocations: 7.984 kB / 0.8934 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.004585, allocations: 4 kB / 0.8935 GB, free: 5.762 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.216e-05/0.004647, allocations: 152.6 kB / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.004662, allocations: 11.89 kB / 0.8936 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.004686, allocations: 8 kB / 0.8936 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.00469, allocations: 3.938 kB / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.004691, allocations: 0 / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004694, allocations: 0 / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.824e-05/0.004782, allocations: 113.2 kB / 0.8937 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.004783, allocations: 0 / 0.8937 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.004812, allocations: 15.98 kB / 0.8937 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.004812, allocations: 0 / 0.8937 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-06/0.004816, allocations: 0 / 0.8937 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004817, allocations: 0 / 0.8937 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.004818, allocations: 0 / 0.8937 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.418e-05/0.004912, allocations: 187.9 kB / 0.8939 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-06/0.004919, allocations: 11.95 kB / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-06/0.004926, allocations: 0 / 0.8939 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.627e-05/0.004962, allocations: 11.98 kB / 0.8939 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.004993, allocations: 15.88 kB / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.004996, allocations: 0 / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.00503, allocations: 127.2 kB / 0.8941 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.00503, allocations: 0 / 0.8941 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000138/0.005168, allocations: 8 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 8.145e-05/0.00525, allocations: 99.19 kB / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.169e-05/0.005312, allocations: 19.67 kB / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.005313, allocations: 0 / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.00533, allocations: 11.69 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.005509, allocations: 11.98 kB / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.005738, allocations: 138.2 kB / 0.8944 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.005767, allocations: 55.34 kB / 0.8944 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.945e-05/0.005787, allocations: 4.375 kB / 0.8944 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.005837, allocations: 74.2 kB / 0.8945 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.005837, allocations: 0 / 0.8945 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.002196/0.008034, allocations: 0.8128 MB / 0.8953 GB, free: 3.766 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_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.270572443958372]