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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.498/2.498, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 63.89 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.801, allocations: 168.7 MB / 1.271 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001578/0.8026, allocations: 0.6804 MB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006717/0.8033, allocations: 0.815 MB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.8033, allocations: 0 / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.8033, allocations: 3.938 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.416e-05/0.8034, allocations: 13.69 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.8035, allocations: 8.578 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.8036, allocations: 25.92 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.464e-05/0.8036, allocations: 8.609 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.8037, allocations: 12.73 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.8037, allocations: 5.656 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.8037, allocations: 1.844 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-06/0.8038, allocations: 1.844 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.8038, allocations: 5.625 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.8038, allocations: 15.73 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.895e-05/0.8039, allocations: 23.23 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8039, allocations: 0.6875 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8039, allocations: 0 / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.8039, allocations: 4 kB / 1.273 GB, free: 6.582 MB / 0.9981 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.0003285/0.8042, allocations: 332.9 kB / 1.273 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.8042, allocations: 9.25 kB / 1.273 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.429e-05/0.8043, allocations: 32.22 kB / 1.273 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.8043, allocations: 6.359 kB / 1.273 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.923e-05/0.8043, allocations: 167.3 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.8044, allocations: 1.812 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.8044, allocations: 1.125 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.8045, allocations: 56.81 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8045, allocations: 4.656 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.8045, allocations: 0.5156 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.8045, allocations: 0.5625 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.8047, allocations: 33.06 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.8049, allocations: 242.4 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.805, allocations: 48.2 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.297e-05/0.8051, allocations: 23.28 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.8051, allocations: 0.8125 kB / 1.274 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.8051, allocations: 36.22 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8051, allocations: 0 / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003291/0.8055, allocations: 88.2 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.8055, allocations: 52.09 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.523e-05/0.8055, allocations: 96.77 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.8055, allocations: 33.64 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.8056, allocations: 82.2 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.8056, allocations: 6.281 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.8056, allocations: 16.34 kB / 1.274 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.355e-05/0.8056, allocations: 317 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.8057, allocations: 14.23 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.8058, allocations: 18.03 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.8059, allocations: 42.58 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.8059, allocations: 8 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001738/0.8061, allocations: 63.86 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.8061, allocations: 7.406 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.8061, allocations: 0 / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.8061, allocations: 0.9688 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.8062, allocations: 11.66 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.8062, allocations: 1.125 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.8063, allocations: 10.44 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.8063, allocations: 0 / 1.275 GB, free: 4.832 MB / 0.9981 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 3.499e-05/0.8063, allocations: 116.5 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.8063, allocations: 2.281 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.8065, allocations: 68.16 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8065, allocations: 1.188 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.8065, allocations: 0 / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8065, allocations: 8.703 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.471e-05/0.8066, allocations: 161.7 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8066, allocations: 2.859 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.8067, allocations: 8.125 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.8067, allocations: 0 / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.8067, allocations: 8.875 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8067, allocations: 0 / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8067, allocations: 0.875 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.8069, allocations: 166.4 kB / 1.275 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.8069, allocations: 83.33 kB / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.8069, allocations: 1.062 kB / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.807, allocations: 7.188 kB / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.807, allocations: 5.031 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.807, allocations: 0.8438 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.789e-05/0.807, allocations: 81.5 kB / 1.275 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.807, allocations: 5.062 kB / 1.275 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001967/0.8072, allocations: 2.75 kB / 1.276 GB, free: 4.133 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.0003486/0.8076, allocations: 0.698 MB / 1.276 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.8078, allocations: 36.5 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8078, allocations: 0 / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.8078, allocations: 20.73 kB / 1.276 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.8081, allocations: 3.547 kB / 1.276 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.8084, allocations: 149 kB / 1.276 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.693e-05/0.8085, allocations: 0.6828 MB / 1.277 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.828e-05/0.8085, allocations: 1.5 kB / 1.277 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.8085, allocations: 13.36 kB / 1.277 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.8085, allocations: 0 / 1.277 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.8313, allocations: 1.245 MB / 1.278 GB, free: 18.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/7.708, allocations: 5.953 kB / 1.278 GB, free: 18.23 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.061067607999576]