Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00132/0.00132, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001341/0.001341, allocations: 186 kB / 20.78 MB, free: 1.547 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.525/1.525, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 496.2 MB / 0.7819 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 75.88 kB / 1.136 GB, free: 12.37 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 173.6 MB / 1.305 GB, free: 33.36 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001763/1.156, allocations: 0.7137 MB / 1.306 GB, free: 32.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007456/1.157, allocations: 0.8029 MB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/1.157, allocations: 0 / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/1.157, allocations: 3.938 kB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/1.157, allocations: 10.91 kB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.731e-05/1.157, allocations: 14.66 kB / 1.307 GB, free: 32.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.155e-05/1.157, allocations: 49.45 kB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/1.157, allocations: 10 kB / 1.307 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.942e-05/1.157, allocations: 13.22 kB / 1.307 GB, free: 32.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/1.157, allocations: 24.89 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/1.157, allocations: 2.812 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/1.157, allocations: 5.312 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/1.157, allocations: 7.938 kB / 1.307 GB, free: 32.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/1.157, allocations: 14.14 kB / 1.307 GB, free: 32.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.76e-05/1.157, allocations: 48.92 kB / 1.307 GB, free: 32.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.157, allocations: 8 kB / 1.307 GB, free: 32.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/1.157, allocations: 0 / 1.307 GB, free: 32.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.68e-06/1.157, allocations: 0 / 1.307 GB, free: 32.19 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.0004858/1.158, allocations: 363 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/1.158, allocations: 8.938 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/1.158, allocations: 7.828 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.118e-05/1.158, allocations: 170.5 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.158, allocations: 4.375 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/1.158, allocations: 3.344 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/1.158, allocations: 67.41 kB / 1.308 GB, free: 31.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.158, allocations: 3.938 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/1.158, allocations: 3.984 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.158, allocations: 2.5 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/1.158, allocations: 67.14 kB / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/1.159, allocations: 275.5 kB / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/1.159, allocations: 52.98 kB / 1.308 GB, free: 31.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/1.159, allocations: 42.94 kB / 1.308 GB, free: 31.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/1.159, allocations: 0 / 1.308 GB, free: 31.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/1.159, allocations: 33.47 kB / 1.308 GB, free: 31.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/1.159, allocations: 0 / 1.308 GB, free: 31.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004591/1.159, allocations: 130.3 kB / 1.308 GB, free: 31.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/1.159, allocations: 54.25 kB / 1.308 GB, free: 31.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/1.16, allocations: 117.5 kB / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/1.16, allocations: 25.7 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/1.16, allocations: 82.92 kB / 1.309 GB, free: 30.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/1.16, allocations: 18.94 kB / 1.309 GB, free: 30.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/1.16, allocations: 12.44 kB / 1.309 GB, free: 30.81 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.638e-05/1.16, allocations: 320.8 kB / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/1.16, allocations: 31.64 kB / 1.309 GB, free: 30.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/1.16, allocations: 33.61 kB / 1.309 GB, free: 30.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/1.16, allocations: 68.19 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.16, allocations: 4 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002573/1.16, allocations: 104.8 kB / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.16, allocations: 8.062 kB / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/1.16, allocations: 0 / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.16, allocations: 0 / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/1.161, allocations: 14.97 kB / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.161, allocations: 0 / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/1.161, allocations: 16.58 kB / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/1.161, allocations: 0 / 1.309 GB, free: 30.41 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 5.187e-05/1.161, allocations: 116.8 kB / 1.309 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/1.161, allocations: 6.828 kB / 1.309 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/1.161, allocations: 3.906 kB / 1.309 GB, free: 30.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.161, allocations: 0 / 1.309 GB, free: 30.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.161, allocations: 3.156 kB / 1.309 GB, free: 30.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.161, allocations: 3.281 kB / 1.309 GB, free: 30.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/1.161, allocations: 170.4 kB / 1.31 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.161, allocations: 0 / 1.31 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/1.161, allocations: 23.14 kB / 1.31 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/1.161, allocations: 0 / 1.31 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/1.161, allocations: 0 / 1.31 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.161, allocations: 0 / 1.31 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.161, allocations: 4.266 kB / 1.31 GB, free: 30.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/1.161, allocations: 209.8 kB / 1.31 GB, free: 29.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/1.161, allocations: 77.11 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/1.161, allocations: 0 / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/1.161, allocations: 11.94 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/1.161, allocations: 7.469 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/1.161, allocations: 2.781 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.795e-05/1.161, allocations: 92.31 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.161, allocations: 0 / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002089/1.162, allocations: 5.75 kB / 1.31 GB, free: 29.73 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.000113/1.162, allocations: 98.03 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003039/1.162, allocations: 68.7 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.162, allocations: 7.938 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/1.162, allocations: 34.89 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/1.163, allocations: 9.812 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/1.163, allocations: 144.2 kB / 1.31 GB, free: 29.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/1.163, allocations: 0.678 MB / 1.311 GB, free: 28.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.975e-05/1.163, allocations: 6.969 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/1.163, allocations: 7.438 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/1.163, allocations: 0 / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of Templates: time 0.002971/1.166, allocations: 0.693 MB / 1.312 GB, free: 28.71 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.017437664791942]