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.000696/0.000696, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008355/0.0008355, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.891/0.891, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.709/1.709, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="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 3.486e-06/3.486e-06, allocations: 3.984 kB / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.245e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001266/0.001288, allocations: 0.66 MB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000729/0.002017, allocations: 0.8471 MB / 0.952 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.00205, allocations: 0 / 0.952 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.002077, allocations: 3.938 kB / 0.952 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.002137, allocations: 4 kB / 0.952 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.002321, allocations: 11.92 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.633e-05/0.002387, allocations: 23.94 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.002496, allocations: 3.984 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.002561, allocations: 15.94 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.426e-05/0.002595, allocations: 15.97 kB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.002609, allocations: 4 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.872e-05/0.002648, allocations: 4 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.002662, allocations: 0 / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.002679, allocations: 11.92 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.002785, allocations: 23.97 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002787, allocations: 0 / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002788, allocations: 0 / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.002793, allocations: 0 / 0.9522 GB, free: 1.77 MB / 0.9011 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.0003239/0.003117, allocations: 270.3 kB / 0.9524 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.003155, allocations: 8.031 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.003184, allocations: 34.75 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.003249, allocations: 8.875 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.016e-05/0.003319, allocations: 113.7 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.003328, allocations: 384 / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.003335, allocations: 384 / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.003451, allocations: 50.23 kB / 0.9526 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.003457, allocations: 4.125 kB / 0.9526 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.003464, allocations: 384 / 0.9526 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.00347, allocations: 4.125 kB / 0.9526 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.453e-05/0.003555, allocations: 35.97 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.003807, allocations: 216 kB / 0.9529 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.242e-05/0.003879, allocations: 38.5 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.003929, allocations: 28.89 kB / 0.9529 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.003945, allocations: 0 / 0.9529 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.003961, allocations: 38.44 kB / 0.953 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.003962, allocations: 4 kB / 0.953 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001976/0.004159, allocations: 77.64 kB / 0.953 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.004187, allocations: 55.41 kB / 0.9531 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.084e-05/0.004238, allocations: 93.86 kB / 0.9532 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.004246, allocations: 29.7 kB / 0.9532 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.00428, allocations: 88.09 kB / 0.9533 GB, free: 432 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.004295, allocations: 7.922 kB / 0.9533 GB, free: 424 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.00432, allocations: 13.84 kB / 0.9533 GB, free: 404 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.004393, allocations: 318.8 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.004431, allocations: 15.98 kB / 0.9536 GB, free: 60 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.004467, allocations: 23.91 kB / 0.9537 GB, free: 36 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.482e-05/0.004551, allocations: 40.91 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004553, allocations: 0 / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.004656, allocations: 73.61 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.00467, allocations: 10.66 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004675, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.004686, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.851e-05/0.004744, allocations: 4 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.004749, allocations: 3.984 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.00477, allocations: 4 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.004775, allocations: 4 kB / 0.9538 GB, free: 15.89 MB / 0.9167 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 5.184e-05/0.004827, allocations: 113.8 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.004838, allocations: 3.938 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.004963, allocations: 76.95 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.004965, allocations: 0 / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.004969, allocations: 0 / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004971, allocations: 0 / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.623e-05/0.005067, allocations: 124.8 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005069, allocations: 4 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.005092, allocations: 11.97 kB / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.005094, allocations: 3.938 kB / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.005099, allocations: 0 / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.005101, allocations: 7.922 kB / 0.9541 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.005103, allocations: 4 kB / 0.9541 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.005222, allocations: 159.5 kB / 0.9543 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.00523, allocations: 12.06 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.005238, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.005274, allocations: 8.031 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.005304, allocations: 7.969 kB / 0.9543 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.005307, allocations: 4 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.207e-05/0.005329, allocations: 75.28 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005329, allocations: 4 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001452/0.005474, allocations: 4 kB / 0.9544 GB, free: 15.2 MB / 0.9167 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.0002866/0.005761, allocations: 0.6928 MB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.005877, allocations: 43.98 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005878, allocations: 0 / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.005916, allocations: 15.98 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.006117, allocations: 4 kB / 0.9551 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.006417, allocations: 138.5 kB / 0.9553 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.006456, allocations: 59.48 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.006473, allocations: 7.938 kB / 0.9553 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.006504, allocations: 12.48 kB / 0.9553 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.006505, allocations: 0 / 0.9553 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.02028, allocations: 1.931 MB / 0.9572 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/6.743, allocations: 6.312 kB / 0.9572 GB, free: 12.34 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.795898799784482]