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.001436/0.001436, allocations: 108 kB / 15.6 MB, free: 132 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.001657/0.001657, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.724/2.724, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 67.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7892/0.7906, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002616/0.7933, allocations: 0.6569 MB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.7944, allocations: 0.8079 MB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.7945, allocations: 4 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.7945, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/0.7946, allocations: 3.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.7948, allocations: 15.97 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.759e-05/0.7949, allocations: 27.86 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.795, allocations: 11.98 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.7951, allocations: 8 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.7952, allocations: 15.92 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.7952, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.7952, allocations: 8 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.7952, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.7953, allocations: 11.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.747e-05/0.7954, allocations: 19.95 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7954, allocations: 4 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7954, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.7954, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 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.0005293/0.796, allocations: 335.1 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.796, allocations: 11.97 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.7961, allocations: 42.69 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.7961, allocations: 0.9375 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.7963, allocations: 164.3 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.7963, allocations: 384 / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.7963, allocations: 4.375 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.7965, allocations: 50.23 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.7965, allocations: 3.938 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.7966, allocations: 0 / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.7966, allocations: 0 / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.7968, allocations: 39.95 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.7972, allocations: 248.9 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.7974, allocations: 38.48 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.417e-05/0.7975, allocations: 24.91 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.7975, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.7975, allocations: 38.5 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7975, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003693/0.7979, allocations: 81.58 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.798, allocations: 55.41 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.7981, allocations: 106 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.7981, allocations: 25.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.7981, allocations: 84.08 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.7982, allocations: 3.906 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.7982, allocations: 17.72 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.7983, allocations: 310.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.7984, allocations: 23.97 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.7985, allocations: 19.98 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.7987, allocations: 36.83 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.7987, allocations: 3.938 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002038/0.7989, allocations: 65.59 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.7989, allocations: 8.094 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.799, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.799, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.7991, allocations: 7.984 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.7991, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.7991, allocations: 8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.7992, allocations: 15.92 kB / 1.021 GB, free: 14.77 MB / 0.7794 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 8.146e-05/0.7992, allocations: 109.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.7993, allocations: 3.906 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.7995, allocations: 80.72 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7995, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.7996, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7996, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.7998, allocations: 161.6 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7998, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.7998, allocations: 8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.7998, allocations: 192 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.7999, allocations: 4.031 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7999, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.7999, allocations: 3.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.8001, allocations: 159.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.8002, allocations: 85.09 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.8002, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.8003, allocations: 4.031 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.8004, allocations: 11.92 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.8004, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.8004, allocations: 79.28 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8004, allocations: 3.938 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002193/0.8006, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 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.000613/0.8013, allocations: 0.6967 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.8015, allocations: 47.89 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8015, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.8016, allocations: 20.08 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.8019, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.8025, allocations: 143.8 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.8027, allocations: 0.6729 MB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.8027, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.8028, allocations: 15.48 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.8028, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.8232, allocations: 1.233 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.565, allocations: 8.828 kB / 1.024 GB, free: 11.09 MB / 0.7794 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=50 --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