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.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.002004/0.002004, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.002858/0.002858, allocations: 165.8 kB / 22.46 MB, free: 5.355 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.574/1.574, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.791/2.791, allocations: 359 MB / 0.6037 GB, free: 15.03 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 4.459e-06/4.459e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.291e-05/4.737e-05, allocations: 5.375 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002731/0.002778, allocations: 0.7029 MB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.004473, allocations: 0.8238 MB / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.00452, allocations: 0 / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.004557, allocations: 3.938 kB / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.382e-05/0.004651, allocations: 23.86 kB / 0.9526 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.826e-05/0.004729, allocations: 7.984 kB / 0.9526 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.004842, allocations: 47.84 kB / 0.9526 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.004971, allocations: 7.938 kB / 0.9526 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.005082, allocations: 23.92 kB / 0.9526 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.005142, allocations: 15.97 kB / 0.9527 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.005165, allocations: 4 kB / 0.9527 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.005176, allocations: 4 kB / 0.9527 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.005197, allocations: 4 kB / 0.9527 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.005239, allocations: 15.92 kB / 0.9527 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.005367, allocations: 43.92 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.00537, allocations: 0 / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.657e-06/0.005374, allocations: 4 kB / 0.9527 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.00538, allocations: 0 / 0.9527 GB, free: 9.801 MB / 0.8575 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.0006545/0.006034, allocations: 290.2 kB / 0.953 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.006088, allocations: 8.031 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.006137, allocations: 4.938 kB / 0.953 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.006287, allocations: 113.6 kB / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.006307, allocations: 4.375 kB / 0.9531 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.006322, allocations: 8.312 kB / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.006638, allocations: 66.22 kB / 0.9532 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.006651, allocations: 4.188 kB / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.006663, allocations: 384 / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.006668, allocations: 384 / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.006991, allocations: 71.84 kB / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.00747, allocations: 208.6 kB / 0.9535 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.007706, allocations: 54.53 kB / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.007884, allocations: 44.91 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.007905, allocations: 0 / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.007949, allocations: 34.56 kB / 0.9536 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.007951, allocations: 0 / 0.9536 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006469/0.008597, allocations: 137.4 kB / 0.9537 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.008665, allocations: 51.41 kB / 0.9538 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.008795, allocations: 113.8 kB / 0.9539 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.008822, allocations: 25.7 kB / 0.9539 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.008897, allocations: 88.12 kB / 0.954 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.008933, allocations: 19.83 kB / 0.954 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.009024, allocations: 21.72 kB / 0.954 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.009221, allocations: 310.8 kB / 0.9543 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.009382, allocations: 31.95 kB / 0.9544 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.00953, allocations: 31.97 kB / 0.9544 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.009825, allocations: 68.78 kB / 0.9545 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009827, allocations: 0 / 0.9545 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003764/0.0102, allocations: 97.56 kB / 0.9546 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.01023, allocations: 11.94 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01023, allocations: 0 / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.01026, allocations: 0 / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.01041, allocations: 19.97 kB / 0.9546 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.01042, allocations: 4 kB / 0.9546 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.01051, allocations: 11.98 kB / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01053, allocations: 8 kB / 0.9546 GB, free: 7.699 MB / 0.8575 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.0001302/0.01066, allocations: 105.8 kB / 0.9547 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.01069, allocations: 7.953 kB / 0.9547 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.01073, allocations: 11.94 kB / 0.9547 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.01074, allocations: 3.984 kB / 0.9547 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.01075, allocations: 3.938 kB / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01075, allocations: 4 kB / 0.9547 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.01094, allocations: 109.3 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01094, allocations: 0 / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.01106, allocations: 15.98 kB / 0.9549 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01106, allocations: 0 / 0.9549 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01107, allocations: 0 / 0.9549 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.01108, allocations: 3.938 kB / 0.9549 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.01108, allocations: 3.938 kB / 0.9549 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.01154, allocations: 199.8 kB / 0.9551 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.01156, allocations: 7.984 kB / 0.9551 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.01157, allocations: 0 / 0.9551 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.01169, allocations: 15.92 kB / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.01174, allocations: 3.984 kB / 0.9551 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.01174, allocations: 4 kB / 0.9551 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.873e-05/0.01182, allocations: 87.28 kB / 0.9552 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01182, allocations: 0 / 0.9552 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002316/0.01205, allocations: 8 kB / 0.9552 GB, free: 7.055 MB / 0.8575 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.0001673/0.01222, allocations: 103.2 kB / 0.9553 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.01262, allocations: 71.86 kB / 0.9553 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01263, allocations: 3.938 kB / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.01279, allocations: 31.97 kB / 0.9554 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.01316, allocations: 8 kB / 0.9554 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.01359, allocations: 124.8 kB / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.562e-05/0.01368, allocations: 67.34 kB / 0.9556 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.01372, allocations: 4 kB / 0.9556 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.01376, allocations: 8.5 kB / 0.9556 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.01376, allocations: 0 / 0.9556 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of Templates: time 0.003953/0.01771, allocations: 0.7348 MB / 0.9563 GB, free: 5.855 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.355741947889328]