Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 102.5 kB / 16.27 MB, free: 6.414 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.001329/0.001329, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.64 kB / 0.8132 GB, free: 32.93 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.24, allocations: 140.4 MB / 0.9503 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002059/0.2421, allocations: 0.6637 MB / 0.9509 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009554/0.2431, allocations: 0.8157 MB / 0.9517 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.2431, allocations: 0 / 0.9517 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.2431, allocations: 0 / 0.9517 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.2432, allocations: 3.938 kB / 0.9517 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.2434, allocations: 11.98 kB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.2435, allocations: 23.92 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2436, allocations: 4 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.1e-05/0.2437, allocations: 15.92 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.2437, allocations: 7.984 kB / 0.9518 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2437, allocations: 8 kB / 0.9518 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.2437, allocations: 0 / 0.9518 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.2438, allocations: 3.938 kB / 0.9518 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.2438, allocations: 8 kB / 0.9518 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.998e-05/0.2439, allocations: 23.89 kB / 0.9518 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2439, allocations: 3.938 kB / 0.9518 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2439, allocations: 0 / 0.9518 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.2439, allocations: 0 / 0.9518 GB, free: 7.215 MB / 0.7325 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.000473/0.2444, allocations: 339.8 kB / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2444, allocations: 12.03 kB / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.2445, allocations: 0.9375 kB / 0.9522 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2446, allocations: 180.2 kB / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2446, allocations: 384 / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2447, allocations: 384 / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.2449, allocations: 52.34 kB / 0.9524 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2449, allocations: 192 / 0.9524 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2449, allocations: 3.938 kB / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2449, allocations: 0 / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.2451, allocations: 35.97 kB / 0.9524 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.2454, allocations: 245 kB / 0.9527 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.2456, allocations: 42.44 kB / 0.9527 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.2457, allocations: 24.84 kB / 0.9527 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2457, allocations: 8 kB / 0.9528 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.2457, allocations: 30.56 kB / 0.9528 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.2458, allocations: 0 / 0.9528 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003697/0.2461, allocations: 85.58 kB / 0.9529 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.2462, allocations: 51.41 kB / 0.9529 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.2463, allocations: 106 kB / 0.953 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2463, allocations: 25.7 kB / 0.953 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.2463, allocations: 80.14 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.2464, allocations: 7.906 kB / 0.9531 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.2464, allocations: 13.72 kB / 0.9531 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2465, allocations: 318.8 kB / 0.9534 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.588e-05/0.2466, allocations: 11.98 kB / 0.9534 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.2467, allocations: 19.98 kB / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.2469, allocations: 40.81 kB / 0.9535 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2469, allocations: 0 / 0.9535 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.2471, allocations: 69.55 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2471, allocations: 4 kB / 0.9536 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.2472, allocations: 4.094 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2472, allocations: 3.984 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.2473, allocations: 8.188 kB / 0.9536 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2473, allocations: 0 / 0.9536 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.2473, allocations: 7.984 kB / 0.9536 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.2473, allocations: 0 / 0.9536 GB, free: 5.195 MB / 0.7325 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.537e-05/0.2474, allocations: 113.8 kB / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.2475, allocations: 11.89 kB / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.2477, allocations: 72.72 kB / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2477, allocations: 0 / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2477, allocations: 3.938 kB / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2478, allocations: 3.984 kB / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.2479, allocations: 161.6 kB / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2479, allocations: 4 kB / 0.954 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.028e-05/0.248, allocations: 7.984 kB / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.248, allocations: 0 / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.248, allocations: 4.031 kB / 0.954 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.248, allocations: 4 kB / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.248, allocations: 7.938 kB / 0.954 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.2483, allocations: 155.5 kB / 0.9541 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.2483, allocations: 81.11 kB / 0.9542 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2484, allocations: 0 / 0.9542 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.2485, allocations: 16.02 kB / 0.9542 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2485, allocations: 0 / 0.9542 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2485, allocations: 0 / 0.9542 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.2485, allocations: 79.28 kB / 0.9543 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.763e-06/0.2486, allocations: 0 / 0.9543 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002186/0.2488, allocations: 7.938 kB / 0.9543 GB, free: 4.375 MB / 0.7325 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.0001581/0.2489, allocations: 103.2 kB / 0.9544 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.2492, allocations: 39.97 kB / 0.9544 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2492, allocations: 0 / 0.9544 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.898e-05/0.2493, allocations: 19.97 kB / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2496, allocations: 11.88 kB / 0.9545 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.25, allocations: 143.3 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.2502, allocations: 0.6805 MB / 0.9553 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.2503, allocations: 7.438 kB / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.2503, allocations: 0 / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of Templates: time 0.001876/0.2522, allocations: 0.5375 MB / 0.9558 GB, free: 2.773 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches