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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_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.001461/0.001461, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001711/0.001711, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7342 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 68.78 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.326, allocations: 157.4 MB / 1.052 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002047/0.3281, allocations: 0.7728 MB / 1.053 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008672/0.329, allocations: 0.7962 MB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.329, allocations: 4 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.3291, allocations: 3.938 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.3292, allocations: 7.938 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.685e-05/0.3292, allocations: 11.98 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.597e-05/0.3293, allocations: 39.86 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3294, allocations: 15.98 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.474e-05/0.3295, allocations: 15.98 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.3296, allocations: 19.86 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3296, allocations: 11.98 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-06/0.3296, allocations: 0 / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.3296, allocations: 7.984 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.3297, allocations: 11.94 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.819e-05/0.3297, allocations: 39.81 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3298, allocations: 0 / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3298, allocations: 0 / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3298, allocations: 0 / 1.054 GB, free: 6.988 MB / 0.8106 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.0005752/0.3303, allocations: 371.6 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3304, allocations: 15.97 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.3304, allocations: 0.9375 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3306, allocations: 172.2 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3306, allocations: 384 / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.3306, allocations: 4.375 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.3309, allocations: 70.2 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3309, allocations: 192 / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.3309, allocations: 3.938 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3309, allocations: 4 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.3312, allocations: 63.92 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.3316, allocations: 268.9 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.3318, allocations: 62.47 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.332, allocations: 40.91 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.332, allocations: 4 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.332, allocations: 30.56 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.332, allocations: 0 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005229/0.3326, allocations: 133.4 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.3326, allocations: 55.41 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.3327, allocations: 105.8 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.3327, allocations: 29.7 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.3328, allocations: 92.12 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.3328, allocations: 11.75 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.3329, allocations: 13.72 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.333, allocations: 314.8 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.3331, allocations: 39.95 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3333, allocations: 27.97 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.3335, allocations: 72.78 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3336, allocations: 3.938 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.3339, allocations: 101.8 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3339, allocations: 8 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3339, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3339, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3341, allocations: 20.02 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3341, allocations: 320 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.3342, allocations: 15.97 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3342, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 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.969e-05/0.3343, allocations: 115.3 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.3343, allocations: 11.91 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.3343, allocations: 7.906 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3343, allocations: 3.984 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3343, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3343, allocations: 4 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.3345, allocations: 161.6 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3345, allocations: 4 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-05/0.3346, allocations: 15.92 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3346, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3346, allocations: 8 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3347, allocations: 4 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3347, allocations: 3.984 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.335, allocations: 187.4 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.3351, allocations: 84.95 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3351, allocations: 4 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3352, allocations: 15.98 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.3352, allocations: 7.984 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3353, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.942e-05/0.3353, allocations: 91.25 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3353, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002122/0.3355, allocations: 8 kB / 1.057 GB, free: 3.828 MB / 0.8106 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.0001704/0.3357, allocations: 99.25 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.336, allocations: 71.86 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.336, allocations: 0 / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3362, allocations: 31.97 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3365, allocations: 23.86 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.3369, allocations: 135.1 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.3372, allocations: 0.6809 MB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.3372, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.3372, allocations: 7.438 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of SimCode: time 8.746e-06/0.3373, allocations: 4 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of Templates: time 0.002589/0.3399, allocations: 0.5525 MB / 1.058 GB, free: 2.176 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) 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) Reference file matches