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.001239/0.001239, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001216/0.001216, allocations: 169 kB / 23.02 MB, free: 1.547 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.9936/0.9936, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.082/2.082, allocations: 429.5 MB / 0.6733 GB, free: 4.047 MB / 0.6355 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.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 2.975e-06/2.975e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.857e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001508/0.001536, allocations: 0.7907 MB / 0.879 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000885/0.002421, allocations: 0.9034 MB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.002467, allocations: 6.234 kB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.002502, allocations: 7.875 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.473e-05/0.002587, allocations: 9 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.002762, allocations: 43.88 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.002865, allocations: 91.7 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.002969, allocations: 20.94 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.00307, allocations: 55.89 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.003133, allocations: 32.98 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.003159, allocations: 8 kB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.003172, allocations: 8 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.003198, allocations: 20.5 kB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.003229, allocations: 27.91 kB / 0.8802 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.003339, allocations: 60.67 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.003343, allocations: 0 / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/0.003345, allocations: 1.094 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.003349, allocations: 4 kB / 0.8802 GB, free: 4.227 MB / 0.8386 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.0004719/0.003821, allocations: 409.3 kB / 0.8806 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.003861, allocations: 15.97 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.00391, allocations: 8.891 kB / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.004019, allocations: 129.6 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.004042, allocations: 384 / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.004055, allocations: 4.375 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.004238, allocations: 100.5 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.004246, allocations: 3.938 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.004259, allocations: 4 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.004267, allocations: 0.7812 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.004336, allocations: 43.41 kB / 0.8809 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.004739, allocations: 311.6 kB / 0.8812 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.005028, allocations: 83.08 kB / 0.8813 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.005074, allocations: 27.67 kB / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.005089, allocations: 0 / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.00511, allocations: 33.39 kB / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.005111, allocations: 4.625 kB / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002126/0.005324, allocations: 82.2 kB / 0.8814 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.005356, allocations: 60.09 kB / 0.8815 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.00544, allocations: 177.9 kB / 0.8817 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.005454, allocations: 30.61 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.005515, allocations: 142.8 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.005538, allocations: 25.33 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.005576, allocations: 31.36 kB / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.005685, allocations: 496.1 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.005722, allocations: 15.98 kB / 0.8824 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.00575, allocations: 15.98 kB / 0.8824 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.005814, allocations: 31.69 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005816, allocations: 4 kB / 0.8824 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001111/0.005927, allocations: 78.06 kB / 0.8825 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.005942, allocations: 4 kB / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005946, allocations: 0 / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.00596, allocations: 0 / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.006043, allocations: 19.98 kB / 0.8825 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.00605, allocations: 8.062 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.006088, allocations: 15.94 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.006095, allocations: 0 / 0.8825 GB, free: 1.664 MB / 0.8386 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 7.394e-05/0.006169, allocations: 164.5 kB / 0.8827 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.006192, allocations: 15.88 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.00622, allocations: 12.42 kB / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.006225, allocations: 4 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.006229, allocations: 0 / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006232, allocations: 0 / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.006352, allocations: 140.5 kB / 0.8829 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006353, allocations: 0 / 0.8829 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.006408, allocations: 27.92 kB / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.00641, allocations: 0 / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.006418, allocations: 0 / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.00642, allocations: 0 / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006421, allocations: 0 / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.006594, allocations: 227.8 kB / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.006611, allocations: 19.88 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.006625, allocations: 0 / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.006673, allocations: 4 kB / 0.8831 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.006737, allocations: 23.97 kB / 0.8831 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.006745, allocations: 7.984 kB / 0.8831 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.006793, allocations: 139.5 kB / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006793, allocations: 0 / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000149/0.006943, allocations: 16 kB / 0.8833 GB, free: 0.8086 MB / 0.8386 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.0001021/0.007045, allocations: 103.2 kB / 0.8834 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.007177, allocations: 43.66 kB / 0.8834 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007178, allocations: 0 / 0.8834 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-05/0.00723, allocations: 43.61 kB / 0.8835 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.007445, allocations: 22.58 kB / 0.8835 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.007803, allocations: 162.8 kB / 0.8837 GB, free: 404 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.007842, allocations: 59.34 kB / 0.8837 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.007885, allocations: 12 kB / 0.8837 GB, free: 312 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.00794, allocations: 24.48 kB / 0.8837 GB, free: 288 kB / 0.8386 GB Notification: Performance of SimCode: time 7.62e-07/0.007941, allocations: 0 / 0.8837 GB, free: 288 kB / 0.8386 GB Notification: Performance of Templates: time 0.003579/0.01152, allocations: 1.812 MB / 0.8855 GB, free: 14.49 MB / 0.8542 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.473082260694355]