Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 195.5 kB / 16.53 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.618/2.618, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 74.47 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3311, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002213/0.3333, allocations: 0.6593 MB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009639/0.3343, allocations: 0.8157 MB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.3344, allocations: 4 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.3345, allocations: 7.922 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.554e-05/0.3345, allocations: 0 / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.3347, allocations: 7.984 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.3348, allocations: 23.92 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3349, allocations: 8 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.335, allocations: 15.92 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.269e-05/0.335, allocations: 4 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3351, allocations: 4 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.3351, allocations: 0 / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.3351, allocations: 11.92 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.3352, allocations: 8 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.416e-05/0.3353, allocations: 23.89 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3353, allocations: 3.938 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3353, allocations: 0 / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3353, allocations: 4 kB / 1.054 GB, free: 6.641 MB / 0.8106 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.0004735/0.3358, allocations: 335.8 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3358, allocations: 12.62 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.3359, allocations: 30.75 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.3359, allocations: 4.844 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.336, allocations: 172.4 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.336, allocations: 384 / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.336, allocations: 384 / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3362, allocations: 54.23 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3363, allocations: 3.938 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.3363, allocations: 0 / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3363, allocations: 0 / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.3365, allocations: 35.91 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.3368, allocations: 248.9 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3369, allocations: 42.5 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-05/0.337, allocations: 28.89 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.337, allocations: 0 / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3371, allocations: 34.55 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3371, allocations: 3.938 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003444/0.3374, allocations: 85.59 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3375, allocations: 55.39 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.3376, allocations: 97.86 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3376, allocations: 25.7 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.3376, allocations: 84.14 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.3376, allocations: 3.906 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3377, allocations: 21.83 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.3378, allocations: 314.8 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.3379, allocations: 11.98 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.338, allocations: 15.98 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3381, allocations: 44.81 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3381, allocations: 7.938 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/0.3383, allocations: 65.58 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3383, allocations: 4 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3384, allocations: 3.984 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3384, allocations: 0 / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.3385, allocations: 8 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3385, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.3385, allocations: 12.02 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.3385, allocations: 3.984 kB / 1.056 GB, free: 4.57 MB / 0.8106 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 6.468e-05/0.3386, allocations: 113.8 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.3386, allocations: 4 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.3389, allocations: 68.72 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3389, allocations: 3.984 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3389, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3389, allocations: 4.031 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.339, allocations: 161.6 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.339, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.3391, allocations: 11.98 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3391, allocations: 0 / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3391, allocations: 3.938 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3391, allocations: 4 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3391, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.3394, allocations: 167.4 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.3394, allocations: 88.95 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.3394, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.3395, allocations: 11.98 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.3395, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3396, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.352e-05/0.3396, allocations: 79.28 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3396, allocations: 4.031 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00021/0.3398, allocations: 11.92 kB / 1.057 GB, free: 3.75 MB / 0.8106 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.0005203/0.3403, allocations: 0.6929 MB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3406, allocations: 39.94 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3406, allocations: 0 / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.3407, allocations: 23.97 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.3409, allocations: 5.094 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.3414, allocations: 140 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.3416, allocations: 0.6768 MB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.3416, allocations: 0 / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.3417, allocations: 7.438 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3417, allocations: 0 / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1473/0.489, allocations: 1.245 MB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.19, allocations: 8.594 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches