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.00166/0.00166, allocations: 111.5 kB / 18.88 MB, free: 3.055 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.00198/0.00198, allocations: 188.1 kB / 22.17 MB, free: 5.203 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.613/1.613, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.842/2.842, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.002215/0.002215, allocations: 67.89 kB / 1.109 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9486/0.9508, allocations: 168.7 MB / 1.274 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002451/0.9533, allocations: 0.7082 MB / 1.275 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.9544, allocations: 0.8079 MB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.9545, allocations: 0 / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.9545, allocations: 3.938 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.9546, allocations: 15.86 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.333e-05/0.9547, allocations: 7.984 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.9548, allocations: 39.92 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.9549, allocations: 15.97 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.955, allocations: 27.86 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.9551, allocations: 15.92 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.9551, allocations: 4 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.9551, allocations: 4 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.9551, allocations: 7.938 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.9552, allocations: 19.92 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.9553, allocations: 38.55 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.9553, allocations: 0 / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9553, allocations: 0 / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.9553, allocations: 3.938 kB / 1.276 GB, free: 2.758 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.0006666/0.956, allocations: 367.3 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.956, allocations: 8.031 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.9561, allocations: 8.891 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.9562, allocations: 172.2 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.9562, allocations: 8.375 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.9562, allocations: 384 / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.9565, allocations: 70.22 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.9565, allocations: 4.188 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.9566, allocations: 7.922 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.9566, allocations: 0 / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.9569, allocations: 59.94 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.9574, allocations: 272.9 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.9576, allocations: 58.45 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.9577, allocations: 40.92 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.9578, allocations: 0 / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.9578, allocations: 42.55 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.9578, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005933/0.9584, allocations: 125.5 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.9584, allocations: 51.41 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.9586, allocations: 109.8 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.9586, allocations: 29.7 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.9586, allocations: 88.12 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.9587, allocations: 15.84 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.9587, allocations: 13.72 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9589, allocations: 314.8 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.959, allocations: 31.95 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.9592, allocations: 31.97 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.9594, allocations: 68.78 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.9594, allocations: 3.938 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003436/0.9598, allocations: 101.6 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.9598, allocations: 5.719 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9598, allocations: 0 / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.9598, allocations: 3.938 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.96, allocations: 19.97 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.96, allocations: 0 / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/0.96, allocations: 19.88 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.9601, allocations: 4 kB / 1.278 GB, free: 428 kB / 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 0.0001125/0.9602, allocations: 119.8 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.9602, allocations: 0 / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.9602, allocations: 7.906 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.9602, allocations: 4 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.9602, allocations: 0 / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.9602, allocations: 3.984 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.9604, allocations: 169.6 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9605, allocations: 4 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.9606, allocations: 15.98 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.9606, allocations: 3.938 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.9606, allocations: 4 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9606, allocations: 0 / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9606, allocations: 0 / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.961, allocations: 199.7 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.961, allocations: 77.11 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.9611, allocations: 8 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.9612, allocations: 7.984 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.9612, allocations: 12.02 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.9612, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.9613, allocations: 83.28 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9613, allocations: 4 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002148/0.9615, allocations: 4 kB / 1.279 GB, free: 15.61 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.0001746/0.9617, allocations: 107.2 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003656/0.962, allocations: 67.86 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.962, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.9622, allocations: 35.97 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.9625, allocations: 18.73 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.9629, allocations: 137.4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.9633, allocations: 0.6807 MB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.9633, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.9633, allocations: 11.44 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.9633, allocations: 4 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of Templates: time 0.003446/0.9668, allocations: 0.6852 MB / 1.28 GB, free: 13.81 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 cvode -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: 9.158293375745416]