Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_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_latest_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.001339/0.001339, allocations: 109.9 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.001349/0.001349, 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.294/1.294, 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 11.0.1-master/package.mo): time 2.447/2.447, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7394/0.7407, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001883/0.7427, allocations: 0.6598 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.7436, allocations: 0.8117 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.7437, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.7437, allocations: 7.938 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.7438, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.7439, allocations: 15.92 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.744, allocations: 15.98 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.7441, allocations: 8 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.7442, allocations: 15.86 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.7442, allocations: 8 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.7442, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.7442, allocations: 4 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.7443, allocations: 15.97 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.7443, allocations: 7.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.224e-05/0.7444, allocations: 19.91 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7444, allocations: 4 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7444, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.7444, allocations: 3.938 kB / 1.21 GB, free: 11.98 MB / 0.9356 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.0004285/0.7448, allocations: 339.3 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7449, allocations: 8.031 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.7449, allocations: 4.938 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.7451, allocations: 164.4 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.7451, allocations: 384 / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.7451, allocations: 12.34 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.7453, allocations: 42.25 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7453, allocations: 192 / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.7453, allocations: 15.88 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.7453, allocations: 0 / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.7455, allocations: 31.95 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.7459, allocations: 244.9 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.746, allocations: 46.53 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.7461, allocations: 24.91 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.7461, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.7461, allocations: 38.5 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 3.146e-06/0.7462, allocations: 0 / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003388/0.7465, allocations: 85.48 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.7465, allocations: 55.41 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.789e-05/0.7466, allocations: 101.8 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.7466, allocations: 25.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.7467, allocations: 88.27 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.7467, allocations: 3.906 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.7468, allocations: 13.72 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7469, allocations: 314.8 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.7469, allocations: 15.97 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.747, allocations: 19.92 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.7472, allocations: 40.89 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7472, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.7474, allocations: 69.59 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7474, allocations: 4 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7474, allocations: 0 / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.7474, allocations: 4 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.7475, allocations: 12.02 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.7475, allocations: 0 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.7476, allocations: 7.984 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.7476, allocations: 0 / 1.212 GB, free: 9.961 MB / 0.9356 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 8.076e-05/0.7477, allocations: 113.8 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.7477, allocations: 3.938 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.7479, allocations: 76.78 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7479, allocations: 0 / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7479, allocations: 3.938 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.748, allocations: 0 / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.7481, allocations: 165.6 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.7481, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.7482, allocations: 8 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7482, allocations: 0 / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.7482, allocations: 3.984 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7482, allocations: 0 / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7482, allocations: 0 / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.7485, allocations: 175.3 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.7485, allocations: 78.94 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.7485, allocations: 0 / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.7486, allocations: 11.94 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.7487, allocations: 8.172 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.7487, allocations: 4.031 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.7487, allocations: 87.27 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7487, allocations: 0 / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002089/0.7489, allocations: 4 kB / 1.213 GB, free: 9.133 MB / 0.9356 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.0001308/0.7491, allocations: 95.25 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.7493, allocations: 35.95 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.7493, allocations: 4.062 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.7494, allocations: 23.92 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.7497, allocations: 13.75 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.75, allocations: 135.7 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.7502, allocations: 0.6768 MB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.7503, allocations: 7.438 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.7503, allocations: 4.062 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.001858/0.7522, allocations: 0.5334 MB / 1.214 GB, free: 7.539 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches