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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002551/0.002551, allocations: 191.6 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 225.6 MB / 250.8 MB, free: 2.883 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.067/3.067, allocations: 495.8 MB / 0.783 GB, free: 12.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002301/0.002301, allocations: 71.88 kB / 1.137 GB, free: 12.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285/1.287, allocations: 173.6 MB / 1.307 GB, free: 33.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00244/1.289, allocations: 0.7847 MB / 1.308 GB, free: 33.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001177/1.291, allocations: 0.8672 MB / 1.308 GB, free: 32.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/1.291, allocations: 2.75 kB / 1.308 GB, free: 32.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/1.291, allocations: 11.81 kB / 1.308 GB, free: 32.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/1.291, allocations: 11.88 kB / 1.308 GB, free: 32.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/1.291, allocations: 42.39 kB / 1.308 GB, free: 32.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/1.291, allocations: 87.48 kB / 1.309 GB, free: 32.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/1.291, allocations: 17.14 kB / 1.309 GB, free: 32.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/1.291, allocations: 40.69 kB / 1.309 GB, free: 32.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/1.291, allocations: 53.88 kB / 1.309 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/1.292, allocations: 8.406 kB / 1.309 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/1.292, allocations: 8.625 kB / 1.309 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/1.292, allocations: 11.33 kB / 1.309 GB, free: 32.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/1.292, allocations: 46.78 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/1.292, allocations: 87.59 kB / 1.309 GB, free: 32.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.292, allocations: 0 / 1.309 GB, free: 32.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/1.292, allocations: 0 / 1.309 GB, free: 32.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.633e-05/1.292, allocations: 2.812 kB / 1.309 GB, free: 32.41 MB / 1.061 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.0006919/1.293, allocations: 324.8 kB / 1.309 GB, free: 32.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.293, allocations: 8.406 kB / 1.309 GB, free: 32.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/1.293, allocations: 7.891 kB / 1.309 GB, free: 32.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/1.293, allocations: 119.5 kB / 1.309 GB, free: 31.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/1.293, allocations: 7.219 kB / 1.309 GB, free: 31.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/1.293, allocations: 6 kB / 1.309 GB, free: 31.97 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/1.293, allocations: 107.7 kB / 1.309 GB, free: 31.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.293, allocations: 0 / 1.309 GB, free: 31.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/1.293, allocations: 8 kB / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/1.293, allocations: 3.031 kB / 1.309 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/1.294, allocations: 92.88 kB / 1.309 GB, free: 31.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/1.294, allocations: 306.7 kB / 1.31 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/1.295, allocations: 120.6 kB / 1.31 GB, free: 31.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/1.295, allocations: 56.95 kB / 1.31 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/1.295, allocations: 3.031 kB / 1.31 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/1.295, allocations: 38.56 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/1.295, allocations: 0 / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006805/1.296, allocations: 182.5 kB / 1.31 GB, free: 31.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.296, allocations: 51.41 kB / 1.31 GB, free: 31.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/1.296, allocations: 129.7 kB / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/1.296, allocations: 37.64 kB / 1.31 GB, free: 31.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/1.296, allocations: 102.3 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/1.296, allocations: 18.7 kB / 1.31 GB, free: 31.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/1.296, allocations: 22.98 kB / 1.31 GB, free: 31.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.608e-05/1.296, allocations: 321.2 kB / 1.311 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/1.296, allocations: 45.55 kB / 1.311 GB, free: 30.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/1.296, allocations: 44.3 kB / 1.311 GB, free: 30.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/1.297, allocations: 103 kB / 1.311 GB, free: 30.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.297, allocations: 0 / 1.311 GB, free: 30.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003897/1.297, allocations: 137.5 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.297, allocations: 2.938 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.297, allocations: 6.344 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.297, allocations: 0 / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/1.297, allocations: 25.23 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.297, allocations: 3.484 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/1.297, allocations: 16.91 kB / 1.311 GB, free: 30.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/1.298, allocations: 6.156 kB / 1.311 GB, free: 30.65 MB / 1.061 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 8.256e-05/1.298, allocations: 120.7 kB / 1.311 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/1.298, allocations: 6.953 kB / 1.311 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/1.298, allocations: 11.38 kB / 1.311 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.298, allocations: 0 / 1.311 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.298, allocations: 3.422 kB / 1.311 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/1.298, allocations: 7.922 kB / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/1.298, allocations: 169.6 kB / 1.311 GB, free: 30.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.298, allocations: 0 / 1.311 GB, free: 30.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/1.298, allocations: 36.55 kB / 1.311 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.298, allocations: 3.094 kB / 1.311 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.298, allocations: 0 / 1.311 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/1.298, allocations: 0 / 1.311 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/1.298, allocations: 0 / 1.311 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/1.298, allocations: 238.8 kB / 1.312 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/1.298, allocations: 9.984 kB / 1.312 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/1.299, allocations: 7.938 kB / 1.312 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/1.299, allocations: 9.25 kB / 1.312 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/1.299, allocations: 28.11 kB / 1.312 GB, free: 30.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/1.299, allocations: 2.875 kB / 1.312 GB, free: 30.13 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.103e-05/1.299, allocations: 93.77 kB / 1.312 GB, free: 30.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.299, allocations: 3.938 kB / 1.312 GB, free: 30.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002318/1.299, allocations: 15.66 kB / 1.312 GB, free: 30.05 MB / 1.061 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.000108/1.299, allocations: 101.6 kB / 1.312 GB, free: 29.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004464/1.3, allocations: 103 kB / 1.312 GB, free: 29.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.3, allocations: 0 / 1.312 GB, free: 29.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/1.3, allocations: 69.44 kB / 1.312 GB, free: 29.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/1.3, allocations: 11.16 kB / 1.312 GB, free: 29.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/1.301, allocations: 178.5 kB / 1.312 GB, free: 29.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/1.301, allocations: 0.6934 MB / 1.313 GB, free: 29.06 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.056e-05/1.301, allocations: 17.55 kB / 1.313 GB, free: 29.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/1.301, allocations: 20.64 kB / 1.313 GB, free: 29.04 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.301, allocations: 0 / 1.313 GB, free: 29.04 MB / 1.061 GB Notification: Performance of Templates: time 0.004849/1.306, allocations: 1.61 MB / 1.315 GB, free: 28.93 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.366599942557514]