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.001437/0.001437, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00192/0.00192, allocations: 213.4 kB / 22.25 MB, free: 5.121 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.513/3.513, allocations: 0.49 GB / 0.7951 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [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.002043/0.002043, allocations: 65.06 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4139, allocations: 176.1 MB / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001942/0.4158, allocations: 0.6683 MB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.4169, allocations: 0.8592 MB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.4169, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.4169, allocations: 7.938 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.417, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.4172, allocations: 15.94 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.4173, allocations: 27.86 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.4174, allocations: 11.98 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.4174, allocations: 4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.4175, allocations: 15.92 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.4175, allocations: 3.984 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.692e-05/0.4175, allocations: 8 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.4176, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.4176, allocations: 11.94 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.4177, allocations: 27.91 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4177, allocations: 7.922 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4177, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.4177, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 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.0004601/0.4182, allocations: 258.3 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.4182, allocations: 12.03 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.092e-05/0.4183, allocations: 4.938 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.4184, allocations: 106.5 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4184, allocations: 8.375 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.4184, allocations: 384 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.4186, allocations: 54.17 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.4186, allocations: 192 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4186, allocations: 3.938 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4187, allocations: 4 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.4188, allocations: 31.95 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.4192, allocations: 224 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.4193, allocations: 42.44 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.745e-05/0.4194, allocations: 24.89 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.4194, allocations: 7.969 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4194, allocations: 38.5 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4194, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003528/0.4198, allocations: 77.66 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4198, allocations: 55.39 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.4199, allocations: 101.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.4199, allocations: 25.7 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.42, allocations: 84.27 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.42, allocations: 11.95 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.42, allocations: 13.7 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4202, allocations: 314.8 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.4203, allocations: 15.98 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.4203, allocations: 11.98 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.4205, allocations: 44.88 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4205, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.4207, allocations: 69.61 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4207, allocations: 7.984 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4207, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.4207, allocations: 3.938 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.4208, allocations: 11.94 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4208, allocations: 8.016 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.4209, allocations: 7.984 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.4209, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 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.324e-05/0.421, allocations: 114.3 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.421, allocations: 3.953 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.4212, allocations: 72.95 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4212, allocations: 4.031 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4213, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4213, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.4214, allocations: 128.7 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4214, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.4215, allocations: 7.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4215, allocations: 7.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4215, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4215, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4215, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.4218, allocations: 167.5 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.4218, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.4218, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.4219, allocations: 7.984 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.4219, allocations: 4 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.4219, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.422, allocations: 91.3 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.422, allocations: 3.938 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002213/0.4222, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 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.0001509/0.4223, allocations: 91.25 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.4226, allocations: 35.91 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4226, allocations: 64 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/0.4226, allocations: 27.97 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.423, allocations: 7.938 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.4233, allocations: 98.34 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.4237, allocations: 0.6768 MB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.4237, allocations: 4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.4237, allocations: 11.5 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4237, allocations: 3.938 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Templates: time 0.003178/0.4269, allocations: 444.5 kB / 1.332 GB, free: 11.73 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] 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: 9.674169942270964]