Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001777/0.001777, allocations: 112.4 kB / 17.13 MB, free: 6.008 MB / 14.72 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.002161/0.002161, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 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 1.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.018/3.018, allocations: 0.49 GB / 0.7923 GB, free: 1.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.91 kB / 1.15 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8275, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001696/0.8292, allocations: 0.7032 MB / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.8299, allocations: 0.8344 MB / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.8299, allocations: 3.938 kB / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.83, allocations: 6.906 kB / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.622e-05/0.8301, allocations: 15.86 kB / 1.324 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.853e-05/0.8301, allocations: 7.469 kB / 1.324 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.8302, allocations: 39.64 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.8303, allocations: 13.3 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.8304, allocations: 20.78 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.743e-05/0.8304, allocations: 20.78 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.8304, allocations: 2.781 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-06/0.8304, allocations: 5.469 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.8304, allocations: 7.469 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.8305, allocations: 17.94 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.872e-05/0.8305, allocations: 48.08 kB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8305, allocations: 0 / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8305, allocations: 0 / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.8305, allocations: 2.75 kB / 1.324 GB, free: 23.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004219/0.831, allocations: 365.4 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.831, allocations: 12.7 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.831, allocations: 7.75 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.668e-05/0.8311, allocations: 167.2 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.8311, allocations: 384 / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.8311, allocations: 7.312 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.8314, allocations: 64.03 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8314, allocations: 4.188 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8314, allocations: 10.84 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8314, allocations: 3.984 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.8317, allocations: 67 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.8319, allocations: 264.5 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.8321, allocations: 60.86 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.8323, allocations: 39.45 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.8323, allocations: 0 / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.8323, allocations: 30.56 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.8323, allocations: 0 / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005034/0.8328, allocations: 137.3 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.8328, allocations: 58.73 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.8329, allocations: 105.5 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.8329, allocations: 28.52 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.8329, allocations: 88.14 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.8329, allocations: 14.62 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.8329, allocations: 15.78 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.833, allocations: 314.8 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.8331, allocations: 32.73 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.8333, allocations: 34.61 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.8335, allocations: 69.25 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8335, allocations: 3.938 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003013/0.8338, allocations: 99.47 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.8338, allocations: 9.5 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8338, allocations: 0 / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.8339, allocations: 0 / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.834, allocations: 18.56 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.834, allocations: 0 / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.8341, allocations: 14.83 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.8341, allocations: 0 / 1.326 GB, free: 22.11 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: 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 4.736e-05/0.8341, allocations: 116.6 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.8341, allocations: 10.8 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.8342, allocations: 11.19 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8342, allocations: 0 / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8342, allocations: 0 / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.8342, allocations: 0 / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.8343, allocations: 171.9 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.8343, allocations: 0 / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-05/0.8344, allocations: 18.42 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8344, allocations: 3.938 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.8344, allocations: 8 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.8344, allocations: 2.531 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8344, allocations: 320 / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.8347, allocations: 196.2 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.8347, allocations: 81.06 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.8348, allocations: 4 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.8349, allocations: 15.12 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.8349, allocations: 4 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.8349, allocations: 2.906 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.651e-05/0.8349, allocations: 92.53 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.8349, allocations: 0 / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002186/0.8352, allocations: 5.875 kB / 1.326 GB, free: 21.41 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: 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.0001038/0.8353, allocations: 100.8 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.8356, allocations: 71.31 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8356, allocations: 0 / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.8357, allocations: 34.78 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.836, allocations: 20.77 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.8363, allocations: 143.3 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.781e-05/0.8364, allocations: 0.6873 MB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.8364, allocations: 10.03 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.8364, allocations: 0 / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of Templates: time 0.00197/0.8384, allocations: 0.7414 MB / 1.328 GB, free: 20.4 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.398393597002723]