Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001475/0.001475, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001255/0.001255, allocations: 164.3 kB / 24.86 MB, free: 8.688 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.9678/0.9678, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.809/1.809, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.152e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002044/0.002066, allocations: 0.7784 MB / 0.7891 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003361, allocations: 0.9068 MB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.00342, allocations: 4 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.003459, allocations: 8.688 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.003561, allocations: 8.844 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.003757, allocations: 39.88 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.003886, allocations: 88.42 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.004011, allocations: 23.97 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.004141, allocations: 48.55 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.405e-05/0.004235, allocations: 35.89 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.004263, allocations: 8.844 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.00428, allocations: 8 kB / 0.7902 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.004311, allocations: 28.91 kB / 0.7902 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.004347, allocations: 19.97 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.004479, allocations: 67.67 kB / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004481, allocations: 2.906 kB / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004482, allocations: 4 kB / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004486, allocations: 0 / 0.7903 GB, free: 10.12 MB / 0.7448 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.0004999/0.004986, allocations: 404.4 kB / 0.7907 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.005024, allocations: 12.03 kB / 0.7907 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.005071, allocations: 8.891 kB / 0.7907 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.005202, allocations: 132.4 kB / 0.7909 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.005228, allocations: 5.688 kB / 0.7909 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.005242, allocations: 4.375 kB / 0.7909 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.005452, allocations: 87.48 kB / 0.791 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.005461, allocations: 4.938 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.005477, allocations: 8 kB / 0.791 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005483, allocations: 0 / 0.791 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.005557, allocations: 26.75 kB / 0.791 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.005995, allocations: 309.6 kB / 0.7913 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.006364, allocations: 68.42 kB / 0.7914 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.006419, allocations: 23.69 kB / 0.7914 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.006439, allocations: 3.938 kB / 0.7914 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.006471, allocations: 43.78 kB / 0.7914 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 3.456e-06/0.006475, allocations: 3.984 kB / 0.7914 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002609/0.006736, allocations: 73.66 kB / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.006775, allocations: 51.41 kB / 0.7916 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.006887, allocations: 185.8 kB / 0.7917 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.006904, allocations: 26.23 kB / 0.7918 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.006962, allocations: 138.8 kB / 0.7919 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.007001, allocations: 24.5 kB / 0.7919 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.007054, allocations: 31.89 kB / 0.7919 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.007196, allocations: 0.4884 MB / 0.7924 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.007233, allocations: 9.594 kB / 0.7924 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.007265, allocations: 11.92 kB / 0.7924 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.28e-05/0.007348, allocations: 39.59 kB / 0.7925 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.007351, allocations: 4.625 kB / 0.7925 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001414/0.007493, allocations: 66.33 kB / 0.7925 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.007506, allocations: 4 kB / 0.7925 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007511, allocations: 1.234 kB / 0.7925 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.007521, allocations: 4.828 kB / 0.7926 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.007646, allocations: 23.92 kB / 0.7926 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.00765, allocations: 1.375 kB / 0.7926 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/0.007712, allocations: 8 kB / 0.7926 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.007723, allocations: 3.984 kB / 0.7926 GB, free: 7.633 MB / 0.7448 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 9.703e-05/0.00782, allocations: 162.3 kB / 0.7927 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.007858, allocations: 11.95 kB / 0.7928 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.007883, allocations: 8.438 kB / 0.7928 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.007885, allocations: 4 kB / 0.7928 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.007887, allocations: 0 / 0.7928 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.007893, allocations: 0.7812 kB / 0.7928 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.008059, allocations: 117.2 kB / 0.7929 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008061, allocations: 0.8438 kB / 0.7929 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.008167, allocations: 19.92 kB / 0.7929 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.00817, allocations: 5.781 kB / 0.7929 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.008179, allocations: 0 / 0.7929 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008181, allocations: 0 / 0.7929 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008181, allocations: 0 / 0.7929 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.008402, allocations: 228.6 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.008421, allocations: 19.81 kB / 0.7931 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.008438, allocations: 2.312 kB / 0.7931 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.008542, allocations: 4 kB / 0.7931 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.008624, allocations: 27.97 kB / 0.7932 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.008635, allocations: 3.984 kB / 0.7932 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.008692, allocations: 135.1 kB / 0.7933 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.008692, allocations: 0 / 0.7933 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002638/0.008956, allocations: 14.03 kB / 0.7933 GB, free: 6.84 MB / 0.7448 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.471e-05/0.009051, allocations: 103.2 kB / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.009192, allocations: 39.59 kB / 0.7935 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009193, allocations: 0.5 kB / 0.7935 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.343e-05/0.009267, allocations: 32.17 kB / 0.7935 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.009555, allocations: 17.86 kB / 0.7935 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.009925, allocations: 178.6 kB / 0.7937 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.009965, allocations: 64.44 kB / 0.7937 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.963e-05/0.01003, allocations: 12.91 kB / 0.7937 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.01015, allocations: 86.19 kB / 0.7938 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01015, allocations: 0 / 0.7938 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.004445/0.0146, allocations: 1.881 MB / 0.7957 GB, free: 4.41 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.029431875795126]