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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01279/0.01279, allocations: 101.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 192.7 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.662/2.662, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 71.91 kB / 1.065 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9121/0.9134, allocations: 159.1 MB / 1.221 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001906/0.9153, allocations: 0.699 MB / 1.221 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.9163, allocations: 0.8 MB / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.9164, allocations: 0 / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.9164, allocations: 0 / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.9165, allocations: 7.875 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.784e-05/0.9165, allocations: 15.98 kB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.9166, allocations: 43.84 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.9168, allocations: 8 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.587e-05/0.9168, allocations: 15.98 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.9169, allocations: 31.89 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.9169, allocations: 4 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.9169, allocations: 0 / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.9169, allocations: 11.94 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.917, allocations: 15.92 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.431e-05/0.9171, allocations: 39.81 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9171, allocations: 0 / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9171, allocations: 0 / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.9171, allocations: 0 / 1.222 GB, free: 368 kB / 0.9356 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.0005692/0.9177, allocations: 379.8 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.9177, allocations: 8.031 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.9177, allocations: 16.86 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.9179, allocations: 160.4 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.9179, allocations: 8.375 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.9179, allocations: 4.312 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.9181, allocations: 66.22 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.9181, allocations: 4.188 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.9181, allocations: 3.938 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.9181, allocations: 4 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.9184, allocations: 59.92 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.9188, allocations: 276.8 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.919, allocations: 62.47 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.9191, allocations: 36.92 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.9191, allocations: 0 / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.9191, allocations: 34.56 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.9191, allocations: 4 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005104/0.9197, allocations: 129.5 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.9197, allocations: 51.41 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.9198, allocations: 113.8 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.9198, allocations: 29.7 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.9199, allocations: 84.14 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.9199, allocations: 15.84 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.9199, allocations: 17.7 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.92, allocations: 314.8 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.9202, allocations: 31.97 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.9203, allocations: 35.95 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.9206, allocations: 68.78 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9206, allocations: 7.875 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003016/0.9209, allocations: 101.6 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.9209, allocations: 4 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.9209, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.9209, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.921, allocations: 15.98 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.921, allocations: 0 / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.9211, allocations: 19.92 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.9211, allocations: 0 / 1.224 GB, free: 14.01 MB / 0.9512 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 7.769e-05/0.9212, allocations: 117.8 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.9212, allocations: 4.328 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.9213, allocations: 3.906 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.9213, allocations: 0 / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.9213, allocations: 3.984 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.9213, allocations: 4 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.9214, allocations: 169.6 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9214, allocations: 4 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.9215, allocations: 15.92 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9215, allocations: 4 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.9216, allocations: 3.938 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.9216, allocations: 8 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9216, allocations: 0 / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.9219, allocations: 199.4 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.9219, allocations: 81.11 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.922, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.9221, allocations: 11.98 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.9221, allocations: 7.984 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.9221, allocations: 4 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.9221, allocations: 79.28 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9221, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002223/0.9224, allocations: 12 kB / 1.225 GB, free: 13.19 MB / 0.9512 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.0001568/0.9225, allocations: 107.2 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.9228, allocations: 71.91 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9228, allocations: 0 / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.923, allocations: 31.97 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.9233, allocations: 11.94 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.9236, allocations: 133.3 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.9239, allocations: 0.6807 MB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.9239, allocations: 0 / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.9239, allocations: 11.38 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.9239, allocations: 0 / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.002726/0.9267, allocations: 0.68 MB / 1.227 GB, free: 11.41 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) 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) Reference file matches