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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009402, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001014/0.001014, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.753/2.753, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 19.94 kB / 0.8708 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8243/0.8248, allocations: 153.7 MB / 1.021 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.0009552/0.8258, allocations: 394.3 kB / 1.021 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.8267, allocations: 0.7963 MB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.8268, allocations: 4 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.8268, allocations: 3.938 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.84e-05/0.8269, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.8271, allocations: 11.97 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.294e-05/0.8271, allocations: 12 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.8273, allocations: 7.984 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.944e-05/0.8273, allocations: 15.92 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.8274, allocations: 7.984 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.8274, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.8275, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.8275, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.8275, allocations: 37.64 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.196e-05/0.8276, allocations: 11.97 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8276, allocations: 0 / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.466e-06/0.8276, allocations: 0 / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.8276, allocations: 7.938 kB / 1.022 GB, free: 15.75 MB / 0.7794 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.0004624/0.8281, allocations: 341.3 kB / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8281, allocations: 11.98 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.8282, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.8283, allocations: 167.1 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.8283, allocations: 0 / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.8283, allocations: 0 / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.8285, allocations: 57.64 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.8285, allocations: 0 / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.8286, allocations: 3.984 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.8286, allocations: 4 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.8287, allocations: 47.91 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.8291, allocations: 244.9 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.8292, allocations: 42.59 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.8293, allocations: 4 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.8293, allocations: 34.56 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8293, allocations: 0 / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.8297, allocations: 109.6 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.8297, allocations: 51.41 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.8298, allocations: 101.8 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.8298, allocations: 25.7 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.83, allocations: 88.08 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.83, allocations: 7.891 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.83, allocations: 0 / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8301, allocations: 318.9 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.8302, allocations: 19.98 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.8303, allocations: 23.97 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.312e-05/0.8304, allocations: 24.05 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8304, allocations: 3.938 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000197/0.8306, allocations: 81.55 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8306, allocations: 4 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.8306, allocations: 4.031 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.8307, allocations: 0 / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.8308, allocations: 8 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8308, allocations: 4 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.8308, allocations: 11.98 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.8308, allocations: 3.938 kB / 1.024 GB, free: 13.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.56e-05/0.8309, allocations: 113.8 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.831, allocations: 4.141 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.8312, allocations: 92.69 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8312, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8312, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8312, allocations: 4.031 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.8314, allocations: 153.7 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.8314, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.8315, allocations: 15.98 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.8315, allocations: 3.953 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.8315, allocations: 0 / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8315, allocations: 0 / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8315, allocations: 0 / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.8317, allocations: 171.4 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.8318, allocations: 85.11 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.8318, allocations: 3.953 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.8319, allocations: 15.95 kB / 1.024 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.8319, allocations: 4 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.8319, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.832, allocations: 83.27 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.832, allocations: 0 / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002072/0.8322, allocations: 4 kB / 1.025 GB, free: 12.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.8324, allocations: 95.25 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.8326, allocations: 51.97 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8326, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.8327, allocations: 23.97 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.8329, allocations: 4.125 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.8332, allocations: 118.5 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.8335, allocations: 0.677 MB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.8335, allocations: 3.984 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.8336, allocations: 11.44 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.8336, allocations: 3.938 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.002642/0.8362, allocations: 344.5 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches