Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_10_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.006859/0.006859, allocations: 95.92 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7106 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 79.88 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2422, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001535/0.2438, allocations: 0.666 MB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008019/0.2446, allocations: 0.8199 MB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.2447, allocations: 0 / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.2447, allocations: 3.938 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.2447, allocations: 7.938 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.2449, allocations: 7.984 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.859e-05/0.2449, allocations: 23.92 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.559e-05/0.245, allocations: 8 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.245, allocations: 7.984 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.2451, allocations: 15.92 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2451, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.2451, allocations: 4 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.2451, allocations: 4 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.2452, allocations: 7.922 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.4e-05/0.2452, allocations: 31.91 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2452, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.91e-07/0.2452, allocations: 0 / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.2453, allocations: 3.938 kB / 1.168 GB, free: 5.629 MB / 0.92 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.0003852/0.2456, allocations: 335.7 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2457, allocations: 12.03 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.2457, allocations: 34.75 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.593e-05/0.2457, allocations: 0.9375 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2459, allocations: 172.3 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2459, allocations: 8.375 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-06/0.2459, allocations: 384 / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.246, allocations: 46.25 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.246, allocations: 3.938 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.2461, allocations: 3.984 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2461, allocations: 0 / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.2462, allocations: 31.97 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.2465, allocations: 248.9 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2466, allocations: 46.47 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.2467, allocations: 20.91 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.2467, allocations: 0 / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.2468, allocations: 38.56 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2468, allocations: 0 / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003072/0.2471, allocations: 77.64 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2471, allocations: 59.34 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.2472, allocations: 97.84 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2472, allocations: 25.7 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.2473, allocations: 88.27 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.2473, allocations: 3.953 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.2473, allocations: 13.72 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2474, allocations: 318.8 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.2475, allocations: 15.98 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.2476, allocations: 15.98 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.2477, allocations: 44.83 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2478, allocations: 3.938 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001795/0.2479, allocations: 69.55 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.248, allocations: 8 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.248, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.248, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.2481, allocations: 7.984 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2481, allocations: 8.031 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.2481, allocations: 3.984 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.2481, allocations: 4 kB / 1.17 GB, free: 3.562 MB / 0.92 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.887e-05/0.2482, allocations: 113.8 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.2482, allocations: 0 / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.2484, allocations: 68.78 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2484, allocations: 7.969 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2484, allocations: 0 / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.2485, allocations: 192 / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2486, allocations: 173.5 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2486, allocations: 3.984 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.2487, allocations: 8 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2487, allocations: 3.984 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.2487, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2487, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2487, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.2489, allocations: 167.5 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.249, allocations: 81.06 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.249, allocations: 4 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.2491, allocations: 4 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.2491, allocations: 3.984 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.2491, allocations: 8.031 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.2492, allocations: 79.28 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2492, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001953/0.2494, allocations: 4 kB / 1.17 GB, free: 2.746 MB / 0.92 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.0005113/0.2499, allocations: 0.7007 MB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.2501, allocations: 35.95 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.2501, allocations: 0 / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.2502, allocations: 23.92 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.2504, allocations: 3.938 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.2507, allocations: 139.8 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.251, allocations: 0.6729 MB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.251, allocations: 7.984 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.2511, allocations: 11.44 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.2511, allocations: 0 / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.795/2.046, allocations: 1.26 MB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/16.99, allocations: 4 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches