Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007963/0.0007963, 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.0008419/0.0008419, allocations: 170.3 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.8924/0.8924, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.728/1.728, allocations: 377.9 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.42e-05, allocations: 2.281 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001298/0.001323, allocations: 0.6716 MB / 0.9817 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.002095, allocations: 0.8432 MB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.002124, allocations: 0 / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.00215, allocations: 0 / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.002207, allocations: 4 kB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.002388, allocations: 15.86 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.002453, allocations: 27.92 kB / 0.9826 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.002543, allocations: 4 kB / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.002614, allocations: 19.98 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.145e-05/0.002646, allocations: 3.984 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.00266, allocations: 4 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-05/0.002702, allocations: 7.984 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.002714, allocations: 4 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.002732, allocations: 11.94 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.417e-05/0.002826, allocations: 19.95 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.002829, allocations: 4 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.01e-07/0.00283, allocations: 0 / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002834, allocations: 0 / 0.9826 GB, free: 0.8672 MB / 0.9323 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.0003206/0.003155, allocations: 262.3 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.003195, allocations: 12.03 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.003223, allocations: 34.75 kB / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.00328, allocations: 4.891 kB / 0.9829 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.467e-05/0.003355, allocations: 109.8 kB / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.003365, allocations: 384 / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.003372, allocations: 4.312 kB / 0.983 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.003493, allocations: 50.23 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.0035, allocations: 192 / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.003515, allocations: 4.359 kB / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.00352, allocations: 12.12 kB / 0.9831 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.74e-05/0.003608, allocations: 31.95 kB / 0.9831 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.003868, allocations: 216 kB / 0.9833 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.051e-05/0.003958, allocations: 46.59 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.004001, allocations: 16.84 kB / 0.9834 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.004017, allocations: 0 / 0.9834 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.004035, allocations: 34.5 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.004036, allocations: 11.94 kB / 0.9835 GB, free: 15.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002111/0.004247, allocations: 77.64 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.004275, allocations: 51.41 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.563e-05/0.004331, allocations: 109.8 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.00434, allocations: 25.7 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.004374, allocations: 84.09 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.00439, allocations: 7.891 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.004414, allocations: 21.84 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.004494, allocations: 310.8 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.612e-05/0.00454, allocations: 23.97 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.004574, allocations: 11.98 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.004648, allocations: 36.83 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.004651, allocations: 0 / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.004752, allocations: 73.66 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.004763, allocations: 4 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.004768, allocations: 0 / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.004778, allocations: 3.938 kB / 0.9843 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.004843, allocations: 15.98 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.004848, allocations: 0 / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.004871, allocations: 7.984 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.004876, allocations: 0 / 0.9843 GB, free: 14.99 MB / 0.948 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.499e-05/0.004931, allocations: 109.9 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.004944, allocations: 7.938 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.005077, allocations: 68.97 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005078, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005082, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.005085, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/0.005182, allocations: 128.8 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005183, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.00521, allocations: 12.02 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.005214, allocations: 3.938 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.005221, allocations: 7.938 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.005223, allocations: 7.938 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005224, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.005345, allocations: 159.5 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.005351, allocations: 3.938 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.005361, allocations: 0 / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.381e-05/0.005405, allocations: 12.02 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.005437, allocations: 8 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.005439, allocations: 0 / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.005465, allocations: 83.27 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005465, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001391/0.005604, allocations: 7.938 kB / 0.9849 GB, free: 14.31 MB / 0.948 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.0004409/0.006045, allocations: 0.6967 MB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.006162, allocations: 36 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006163, allocations: 0 / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.155e-05/0.006205, allocations: 23.97 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.006419, allocations: 0 / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.006737, allocations: 138.4 kB / 0.9857 GB, free: 13.35 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.006776, allocations: 59.47 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.575e-05/0.006792, allocations: 4.328 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.006827, allocations: 16.5 kB / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.006827, allocations: 0 / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.02473, allocations: 1.937 MB / 0.9877 GB, free: 11.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/6.744, allocations: 2.75 kB / 0.9877 GB, free: 11.44 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.774432687088847]