Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="Buildings_11_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.006835/0.006835, allocations: 97.56 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.001813/0.001813, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 63.89 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2785, allocations: 159.1 MB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001636/0.2802, allocations: 0.673 MB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.2811, allocations: 0.8097 MB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.2811, allocations: 0 / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.2811, allocations: 3.938 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.2812, allocations: 3.938 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.2813, allocations: 8 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.639e-05/0.2814, allocations: 23.97 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.325e-05/0.2815, allocations: 15.92 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.2815, allocations: 7.938 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.514e-05/0.2816, allocations: 11.98 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2816, allocations: 4 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.2816, allocations: 4 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.2816, allocations: 11.88 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.2816, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.984e-05/0.2817, allocations: 23.89 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2817, allocations: 4 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2817, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2817, allocations: 0 / 1.222 GB, free: 12.6 MB / 0.9825 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.0003991/0.2821, allocations: 335.5 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2822, allocations: 16.02 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.2822, allocations: 38.75 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.905e-05/0.2822, allocations: 4.891 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2824, allocations: 164.3 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.2824, allocations: 384 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.2824, allocations: 4.375 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.2825, allocations: 54.17 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2826, allocations: 3.938 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.2826, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2826, allocations: 4 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.2827, allocations: 35.95 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.283, allocations: 237 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.2832, allocations: 50.38 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.2833, allocations: 28.89 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.2833, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.2833, allocations: 30.56 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.2833, allocations: 4 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003132/0.2836, allocations: 73.64 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.2837, allocations: 55.53 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.2838, allocations: 101.9 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2838, allocations: 25.7 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.2838, allocations: 88.09 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.2839, allocations: 11.88 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.2839, allocations: 13.72 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.284, allocations: 314.8 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.2841, allocations: 15.98 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.2842, allocations: 19.97 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.2844, allocations: 36.83 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2844, allocations: 11.94 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001812/0.2846, allocations: 61.72 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2846, allocations: 12.03 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.2846, allocations: 0 / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2846, allocations: 0 / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.2847, allocations: 11.92 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.2847, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.2847, allocations: 7.938 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.2848, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 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.926e-05/0.2848, allocations: 109.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.2849, allocations: 4 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.2851, allocations: 76.77 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2851, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2851, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2851, allocations: 192 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.2853, allocations: 157.6 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2853, allocations: 3.984 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.2853, allocations: 11.98 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2853, allocations: 4.031 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.2853, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2853, allocations: 7.875 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2854, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.2856, allocations: 167.4 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.2857, allocations: 77.11 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2857, allocations: 8.031 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.2858, allocations: 3.984 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.2858, allocations: 4 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.2858, allocations: 0 / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.2859, allocations: 87.27 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2859, allocations: 0 / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002053/0.2861, allocations: 4 kB / 1.224 GB, free: 9.715 MB / 0.9825 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.000558/0.2867, allocations: 0.6973 MB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.2869, allocations: 39.95 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2869, allocations: 96 / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.287, allocations: 23.98 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.2872, allocations: 0 / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.2876, allocations: 147.4 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.2879, allocations: 0.6768 MB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.2879, allocations: 0 / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.2879, allocations: 15.44 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2879, allocations: 4.062 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.403/1.691, allocations: 1.267 MB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/12.48, allocations: 13.7 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Tan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches