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.007564/0.007564, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001942/0.001942, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 72.08 kB / 1.054 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9115/0.913, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.0019/0.9149, allocations: 0.6634 MB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.9159, allocations: 0.8117 MB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.916, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.916, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.9161, allocations: 11.94 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.9162, allocations: 11.97 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.064e-05/0.9163, allocations: 19.94 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.867e-05/0.9164, allocations: 7.984 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.9165, allocations: 11.94 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.9165, allocations: 11.98 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.9165, allocations: 0 / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.9166, allocations: 4 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.9166, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.9166, allocations: 15.94 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.884e-05/0.9167, allocations: 27.88 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.9167, allocations: 0 / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9167, allocations: 3.938 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.9167, allocations: 0 / 1.209 GB, free: 11.96 MB / 0.9356 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.0004207/0.9172, allocations: 337.7 kB / 1.209 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.9172, allocations: 12.03 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.9172, allocations: 30.75 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.9173, allocations: 0.9375 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.9174, allocations: 168.4 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.9174, allocations: 4.375 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.9174, allocations: 384 / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.9176, allocations: 54.22 kB / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.9176, allocations: 3.938 kB / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.9177, allocations: 0 / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.9177, allocations: 0 / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.9179, allocations: 39.89 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.9182, allocations: 245 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.9183, allocations: 46.48 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.451e-05/0.9184, allocations: 20.84 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.9185, allocations: 4 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.9185, allocations: 34.56 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 2.605e-06/0.9185, allocations: 0 / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.9189, allocations: 93.42 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.9189, allocations: 51.41 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.919, allocations: 97.86 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.919, allocations: 29.81 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.9191, allocations: 88.08 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.9191, allocations: 11.91 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.9192, allocations: 9.719 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.9193, allocations: 310.8 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.9193, allocations: 23.97 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.9194, allocations: 11.98 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.9196, allocations: 44.83 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9196, allocations: 3.938 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.9198, allocations: 69.66 kB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.9198, allocations: 4 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.9198, allocations: 4 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.9198, allocations: 0 / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.9199, allocations: 16.02 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.92, allocations: 0 / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.92, allocations: 4 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.92, allocations: 0 / 1.211 GB, free: 9.887 MB / 0.9356 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.034e-05/0.9201, allocations: 113.8 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.9201, allocations: 4 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.9204, allocations: 76.72 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.9204, allocations: 0 / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9204, allocations: 0 / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.9204, allocations: 0 / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.9206, allocations: 157.6 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.9206, allocations: 7.984 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.9206, allocations: 4 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.9207, allocations: 0 / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.9207, allocations: 0 / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.9207, allocations: 0 / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9207, allocations: 8.031 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.9209, allocations: 167.3 kB / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.921, allocations: 85.09 kB / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.921, allocations: 0 / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.9211, allocations: 7.938 kB / 1.211 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.9211, allocations: 4.016 kB / 1.211 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.9211, allocations: 7.938 kB / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.9212, allocations: 87.45 kB / 1.211 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9212, allocations: 0 / 1.211 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002202/0.9214, allocations: 4 kB / 1.211 GB, free: 9.066 MB / 0.9356 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.0005123/0.9219, allocations: 0.6968 MB / 1.212 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.9221, allocations: 39.89 kB / 1.212 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9221, allocations: 0 / 1.212 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.984e-05/0.9222, allocations: 15.98 kB / 1.212 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.9225, allocations: 4.156 kB / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.923, allocations: 143.7 kB / 1.212 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.9232, allocations: 0.6845 MB / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.9232, allocations: 0 / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.9233, allocations: 7.438 kB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.9233, allocations: 0 / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.94, allocations: 1.271 MB / 1.214 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/8.317, allocations: 25.25 kB / 1.214 GB, free: 6.18 MB / 0.9356 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