Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 217.9 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.7 MB / 0.7714 GB, free: 4.336 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002917/0.002917, allocations: 63.17 kB / 1.118 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.414, allocations: 169.9 MB / 1.284 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002024/0.416, allocations: 0.6822 MB / 1.285 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.4172, allocations: 0.8475 MB / 1.286 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.4172, allocations: 7.938 kB / 1.286 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.4172, allocations: 7.938 kB / 1.286 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.899e-05/0.4173, allocations: 7.984 kB / 1.286 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.4175, allocations: 15.92 kB / 1.286 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.746e-05/0.4176, allocations: 12 kB / 1.286 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.4177, allocations: 7.984 kB / 1.286 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.4177, allocations: 15.88 kB / 1.286 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.4178, allocations: 7.984 kB / 1.286 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.4178, allocations: 4 kB / 1.286 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.4179, allocations: 11.94 kB / 1.286 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.4179, allocations: 4 kB / 1.286 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.4179, allocations: 11.92 kB / 1.286 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.418, allocations: 32.17 kB / 1.286 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.418, allocations: 0 / 1.286 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.418, allocations: 0 / 1.286 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.418, allocations: 0 / 1.286 GB, free: 2.129 MB / 0.9825 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.0004944/0.4185, allocations: 262.3 kB / 1.286 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.4186, allocations: 8.031 kB / 1.286 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.683e-05/0.4186, allocations: 4.188 kB / 1.286 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.4186, allocations: 38.75 kB / 1.286 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.969e-05/0.4187, allocations: 4.875 kB / 1.286 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.4188, allocations: 106.5 kB / 1.286 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.4188, allocations: 384 / 1.286 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.4188, allocations: 384 / 1.286 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.4191, allocations: 57.92 kB / 1.286 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.4191, allocations: 0 / 1.286 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.4191, allocations: 0 / 1.286 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.4191, allocations: 0 / 1.286 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.4192, allocations: 39.95 kB / 1.286 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.4196, allocations: 223.9 kB / 1.287 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.4197, allocations: 34.56 kB / 1.287 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.147e-05/0.4198, allocations: 32.83 kB / 1.287 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.4198, allocations: 4 kB / 1.287 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.4199, allocations: 34.55 kB / 1.287 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4199, allocations: 0 / 1.287 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004166/0.4203, allocations: 81.64 kB / 1.287 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.4203, allocations: 51.41 kB / 1.287 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/0.4204, allocations: 97.98 kB / 1.287 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.4204, allocations: 25.7 kB / 1.287 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.4205, allocations: 88.12 kB / 1.287 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.4205, allocations: 7.953 kB / 1.287 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.4205, allocations: 9.719 kB / 1.287 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4207, allocations: 322.7 kB / 1.287 GB, free: 448 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.4207, allocations: 15.98 kB / 1.287 GB, free: 432 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.4208, allocations: 23.97 kB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.421, allocations: 40.77 kB / 1.287 GB, free: 364 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.421, allocations: 0 / 1.287 GB, free: 364 kB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.4212, allocations: 65.66 kB / 1.287 GB, free: 292 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4212, allocations: 4.094 kB / 1.287 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4212, allocations: 4 kB / 1.287 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4212, allocations: 0 / 1.287 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.4213, allocations: 15.98 kB / 1.287 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4213, allocations: 3.938 kB / 1.287 GB, free: 264 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.4214, allocations: 4 kB / 1.287 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.4214, allocations: 0 / 1.287 GB, free: 260 kB / 0.9825 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.076e-05/0.4215, allocations: 113.8 kB / 1.288 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.4215, allocations: 15.88 kB / 1.288 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.4217, allocations: 68.97 kB / 1.288 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.4217, allocations: 0 / 1.288 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4217, allocations: 0 / 1.288 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4217, allocations: 0 / 1.288 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.4219, allocations: 136.7 kB / 1.288 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4219, allocations: 0 / 1.288 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.422, allocations: 7.984 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.422, allocations: 0 / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.422, allocations: 8.031 kB / 1.288 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.422, allocations: 4 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.422, allocations: 3.938 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.4222, allocations: 159.5 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-06/0.4222, allocations: 0 / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.4222, allocations: 0 / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.4223, allocations: 12.02 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.4224, allocations: 4 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.4224, allocations: 4 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.4224, allocations: 79.27 kB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4224, allocations: 0 / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002089/0.4226, allocations: 4 kB / 1.288 GB, free: 15.57 MB / 0.9981 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.0006064/0.4232, allocations: 0.7006 MB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.4234, allocations: 35.95 kB / 1.289 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4234, allocations: 0 / 1.289 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.4235, allocations: 24.08 kB / 1.289 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.4238, allocations: 3.938 kB / 1.289 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.4243, allocations: 139.9 kB / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4246, allocations: 0.6768 MB / 1.29 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.4246, allocations: 0 / 1.29 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.4247, allocations: 15.44 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.4247, allocations: 4.062 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.4477, allocations: 1.397 MB / 1.291 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.74, allocations: 14.44 kB / 1.291 GB, free: 12.62 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.55459797597723]