Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001759/0.001759, allocations: 102.6 kB / 16.27 MB, free: 5.969 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.001908/0.001908, allocations: 189.1 kB / 17.2 MB, free: 5.594 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.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437.1 MB / 0.711 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002757, allocations: 67.59 kB / 0.8699 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3231, allocations: 151.6 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002129/0.3253, allocations: 0.6925 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3263, allocations: 0.8118 MB / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.3264, allocations: 3.938 kB / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.3264, allocations: 3.938 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.3265, allocations: 11.88 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.78e-05/0.3266, allocations: 7.984 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.717e-05/0.3267, allocations: 43.86 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3268, allocations: 15.98 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.3269, allocations: 11.98 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.3269, allocations: 23.86 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.327, allocations: 4 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.327, allocations: 4 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.327, allocations: 15.97 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.327, allocations: 11.94 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.899e-05/0.3271, allocations: 43.81 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3271, allocations: 0 / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3271, allocations: 0 / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3272, allocations: 0 / 1.02 GB, free: 8.848 MB / 0.795 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.000575/0.3277, allocations: 367.6 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.3278, allocations: 12.92 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.3278, allocations: 0.9375 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.328, allocations: 184.2 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3281, allocations: 384 / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3281, allocations: 4.375 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.3284, allocations: 70.2 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3284, allocations: 192 / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3285, allocations: 7.938 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3285, allocations: 0 / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.3288, allocations: 63.92 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.3293, allocations: 264.9 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.3295, allocations: 58.47 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3297, allocations: 48.91 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.3297, allocations: 0 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.3298, allocations: 30.56 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.3298, allocations: 4 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005995/0.3304, allocations: 129.4 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.3305, allocations: 51.41 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.3306, allocations: 113.8 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3306, allocations: 25.7 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.3307, allocations: 92.12 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.3308, allocations: 15.81 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.3308, allocations: 9.719 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.331, allocations: 314.8 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3311, allocations: 31.95 kB / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3313, allocations: 32.16 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.3316, allocations: 76.8 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.3316, allocations: 3.938 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003587/0.332, allocations: 109.5 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.332, allocations: 4 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.332, allocations: 0 / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.332, allocations: 0 / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3322, allocations: 23.97 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3322, allocations: 0 / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.3323, allocations: 11.98 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3323, allocations: 0 / 1.022 GB, free: 6.504 MB / 0.795 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 9.503e-05/0.3324, allocations: 117.8 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.3324, allocations: 3.906 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.3325, allocations: 11.89 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3325, allocations: 4 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3325, allocations: 0 / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3325, allocations: 0 / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.3327, allocations: 169.6 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3327, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3328, allocations: 11.98 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3328, allocations: 0 / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3328, allocations: 8 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3328, allocations: 7.922 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3328, allocations: 0 / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.3332, allocations: 191.4 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.3333, allocations: 84.95 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3333, allocations: 4 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3334, allocations: 11.98 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.3335, allocations: 7.984 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3335, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.3335, allocations: 87.27 kB / 1.022 GB, free: 5.699 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3335, allocations: 4 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000215/0.3337, allocations: 4 kB / 1.022 GB, free: 5.691 MB / 0.795 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.0001543/0.3339, allocations: 107.2 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.3343, allocations: 67.86 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3343, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.3344, allocations: 35.97 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3347, allocations: 11.92 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.3351, allocations: 153.9 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3354, allocations: 0.6845 MB / 1.023 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.3355, allocations: 11.44 kB / 1.023 GB, free: 4.559 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.3355, allocations: 0 / 1.023 GB, free: 4.559 MB / 0.795 GB Notification: Performance of Templates: time 0.002318/0.3378, allocations: 0.7385 MB / 1.024 GB, free: 3.824 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches