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.001819/0.001819, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 196 kB / 16.53 MB, free: 6.664 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.625/1.625, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.986/2.986, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003113/0.003113, allocations: 71.89 kB / 0.8693 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7231, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002398/0.7256, allocations: 0.7114 MB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.7266, allocations: 0.8001 MB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.7267, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.7267, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.19e-05/0.7268, allocations: 23.84 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.208e-05/0.7269, allocations: 7.984 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.271e-05/0.727, allocations: 43.86 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.7271, allocations: 11.98 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.7272, allocations: 12 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.7273, allocations: 19.91 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.7273, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.7273, allocations: 7.938 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.7273, allocations: 8 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.7274, allocations: 19.92 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.7275, allocations: 43.86 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7275, allocations: 3.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7275, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.7275, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 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.0006341/0.7282, allocations: 361.3 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.7282, allocations: 16.02 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.7283, allocations: 8.875 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.7284, allocations: 168.3 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.7285, allocations: 4.375 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.7285, allocations: 4.375 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.7288, allocations: 66.22 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.7288, allocations: 192 / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.7288, allocations: 3.938 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.7288, allocations: 0 / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.7291, allocations: 68 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.7295, allocations: 268.9 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.7297, allocations: 62.41 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.7299, allocations: 40.92 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.73, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.73, allocations: 34.55 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.73, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000562/0.7306, allocations: 137.4 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.7306, allocations: 51.41 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.7307, allocations: 109.8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.7307, allocations: 29.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.7308, allocations: 84.14 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.7308, allocations: 15.83 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.7309, allocations: 17.72 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.731, allocations: 310.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.7312, allocations: 35.95 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.7313, allocations: 27.97 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.7316, allocations: 72.78 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.7317, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003447/0.732, allocations: 101.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.732, allocations: 5.719 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.732, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.7321, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.7322, allocations: 23.92 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.7322, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/0.7323, allocations: 15.97 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.7323, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 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 8.473e-05/0.7324, allocations: 109.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.7324, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.7325, allocations: 11.91 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.7325, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7325, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7325, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.7327, allocations: 173.5 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7327, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.7328, allocations: 15.92 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.7328, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.7328, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.7328, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7329, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.7333, allocations: 199.3 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.7333, allocations: 77.11 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.7334, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.7335, allocations: 15.98 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.7335, allocations: 7.922 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.7335, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.7336, allocations: 83.59 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7336, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002188/0.7338, allocations: 8 kB / 1.022 GB, free: 13.61 MB / 0.7794 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.0001334/0.734, allocations: 103.2 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.7343, allocations: 76.23 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7343, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.7345, allocations: 31.97 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.7348, allocations: 8.359 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.7352, allocations: 137.5 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.7355, allocations: 0.6846 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.7355, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.7356, allocations: 15.38 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7356, allocations: 3.938 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.003179/0.7388, allocations: 0.6646 MB / 1.023 GB, free: 11.84 MB / 0.7794 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=400 -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/jenkins/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