Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.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.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001283, allocations: 107 kB / 16.41 MB, free: 6.492 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.001281/0.001281, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.15 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.48/2.48, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 75.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9498/0.9513, allocations: 151.6 MB / 1.167 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00213/0.9535, allocations: 0.6646 MB / 1.168 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.9546, allocations: 0.8195 MB / 1.169 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.9547, allocations: 0 / 1.169 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.9548, allocations: 4 kB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.9549, allocations: 3.938 kB / 1.169 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.955, allocations: 4 kB / 1.169 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.074e-05/0.9551, allocations: 23.92 kB / 1.169 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.9552, allocations: 11.97 kB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.069e-05/0.9553, allocations: 8 kB / 1.169 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.9554, allocations: 11.92 kB / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.9554, allocations: 4 kB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-06/0.9554, allocations: 4 kB / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.9554, allocations: 4 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.9555, allocations: 11.94 kB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.663e-05/0.9556, allocations: 23.91 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9556, allocations: 0 / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9556, allocations: 0 / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.9556, allocations: 0 / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004983/0.9561, allocations: 337.2 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.9562, allocations: 20.86 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.9562, allocations: 4.922 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.9564, allocations: 164.4 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.9564, allocations: 4.375 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.9564, allocations: 384 / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.9566, allocations: 50.23 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.9566, allocations: 192 / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.9566, allocations: 3.938 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9566, allocations: 0 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.9568, allocations: 35.97 kB / 1.17 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.9572, allocations: 248.9 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.9574, allocations: 42.5 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.9575, allocations: 27.34 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.9575, allocations: 0 / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.9575, allocations: 38.55 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.9575, allocations: 0 / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003698/0.9579, allocations: 81.5 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.958, allocations: 59.39 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.9581, allocations: 97.98 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.9581, allocations: 29.64 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.9582, allocations: 88.08 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.9582, allocations: 3.906 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.9582, allocations: 17.7 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9584, allocations: 314.8 kB / 1.171 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.9585, allocations: 15.98 kB / 1.171 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.9586, allocations: 19.98 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.9587, allocations: 40.81 kB / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9587, allocations: 0 / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001895/0.9589, allocations: 65.55 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.9589, allocations: 11.98 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.959, allocations: 4.094 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.959, allocations: 0 / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.9591, allocations: 4 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.9591, allocations: 4 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.9592, allocations: 7.984 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.9592, allocations: 4 kB / 1.171 GB, free: 380 kB / 0.8887 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 (2): * Single equations (assignments): 2 * 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.771e-05/0.9593, allocations: 113.8 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.9593, allocations: 192 / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.9595, allocations: 80.7 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.9596, allocations: 3.984 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9596, allocations: 0 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.9596, allocations: 0 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.9598, allocations: 161.5 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9598, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.9599, allocations: 11.98 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.9599, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.9599, allocations: 4.031 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9599, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9599, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.9601, allocations: 167.4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.9602, allocations: 81.11 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.9602, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.9603, allocations: 12.02 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.9603, allocations: 3.938 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.9603, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.9604, allocations: 91.2 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9604, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002129/0.9606, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 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 (2): * Single equations (assignments): 2 * 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.0001726/0.9608, allocations: 95.25 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.961, allocations: 39.97 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.961, allocations: 0 / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.9611, allocations: 23.97 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.9614, allocations: 3.938 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.9618, allocations: 139.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.9621, allocations: 0.6808 MB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.9622, allocations: 11.44 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of SimCode: time 3.2e-07/0.9622, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of Templates: time 0.002107/0.9643, allocations: 0.5411 MB / 1.173 GB, free: 13.95 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches