Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001953/0.001953, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002277/0.002277, allocations: 194.2 kB / 22.17 MB, free: 5.652 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.436/1.436, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8295, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002032/0.8316, allocations: 0.7076 MB / 1.275 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009331/0.8325, allocations: 0.8079 MB / 1.276 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.8325, allocations: 0 / 1.276 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.8326, allocations: 3.984 kB / 1.276 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.8326, allocations: 15.86 kB / 1.276 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.891e-05/0.8327, allocations: 15.92 kB / 1.276 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.566e-05/0.8328, allocations: 35.92 kB / 1.276 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.8329, allocations: 15.98 kB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.8329, allocations: 19.92 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.833, allocations: 19.92 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.833, allocations: 4 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.833, allocations: 4 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.833, allocations: 11.92 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.8331, allocations: 11.94 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.685e-05/0.8332, allocations: 46.47 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8332, allocations: 0 / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8332, allocations: 3.938 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.8332, allocations: 4 kB / 1.276 GB, free: 2.836 MB / 0.9669 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.0005892/0.8338, allocations: 367.3 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.8338, allocations: 8.031 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.8338, allocations: 8.891 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.834, allocations: 168.3 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.834, allocations: 384 / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.834, allocations: 384 / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.8343, allocations: 78.2 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8343, allocations: 192 / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.8343, allocations: 3.938 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.8343, allocations: 0 / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.8346, allocations: 67.86 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.835, allocations: 268.9 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.8352, allocations: 58.47 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.8354, allocations: 44.91 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.8354, allocations: 0 / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.8355, allocations: 34.56 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.8355, allocations: 3.938 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005338/0.836, allocations: 121.6 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.836, allocations: 51.41 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.8361, allocations: 117.8 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.8361, allocations: 25.7 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.8362, allocations: 88.12 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.8362, allocations: 15.84 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.8363, allocations: 13.72 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8364, allocations: 318.8 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.8366, allocations: 27.97 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.8367, allocations: 36.14 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.837, allocations: 72.72 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.837, allocations: 3.938 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003323/0.8373, allocations: 101.6 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.8373, allocations: 4 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.8373, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.8373, allocations: 7.984 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.8375, allocations: 15.98 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.8375, allocations: 3.938 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/0.8376, allocations: 15.94 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.8376, allocations: 4 kB / 1.278 GB, free: 0.4961 MB / 0.9669 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 8.826e-05/0.8377, allocations: 114.3 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.8377, allocations: 0 / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.8377, allocations: 11.89 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.8377, allocations: 7.938 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.8377, allocations: 0 / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.8377, allocations: 0 / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.8379, allocations: 169.6 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8379, allocations: 0 / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.887e-05/0.838, allocations: 15.98 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.838, allocations: 4 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.838, allocations: 3.984 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.838, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.838, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.8384, allocations: 199.4 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.8384, allocations: 77.11 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.8385, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.8386, allocations: 11.97 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.8386, allocations: 4 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8386, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.469e-05/0.8387, allocations: 99.19 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8387, allocations: 0 / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002136/0.8389, allocations: 4 kB / 1.279 GB, free: 15.69 MB / 0.9825 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 0.0001473/0.839, allocations: 107.2 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.8394, allocations: 63.92 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8394, allocations: 0 / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.8396, allocations: 35.97 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.8398, allocations: 20.75 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.8402, allocations: 141.3 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.8405, allocations: 0.6807 MB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.097e-05/0.8405, allocations: 4 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.8406, allocations: 15.38 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8406, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.003331/0.8439, allocations: 0.6826 MB / 1.28 GB, free: 13.89 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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: 8.617407493293285]