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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007438/0.007437, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001845/0.001845, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.446/1.446, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.6537, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002121/0.6558, allocations: 0.7293 MB / 0.9503 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008745/0.6567, allocations: 0.8042 MB / 0.9511 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.6568, allocations: 0 / 0.9511 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.6568, allocations: 3.938 kB / 0.9511 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.583e-05/0.6569, allocations: 5.359 kB / 0.9511 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.6571, allocations: 5.375 kB / 0.9511 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.6572, allocations: 33.48 kB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.6573, allocations: 2.75 kB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.6573, allocations: 10.73 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.6574, allocations: 12.05 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.6574, allocations: 0 / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.6574, allocations: 1.375 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.6574, allocations: 1.375 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.6574, allocations: 13.3 kB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.91e-05/0.6575, allocations: 16.09 kB / 0.9512 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6575, allocations: 0 / 0.9512 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.61e-07/0.6575, allocations: 4 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.6575, allocations: 1.375 kB / 0.9512 GB, free: 7.797 MB / 0.7169 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.0003606/0.6579, allocations: 338.5 kB / 0.9515 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.6579, allocations: 9.625 kB / 0.9515 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.658, allocations: 2.312 kB / 0.9515 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.6581, allocations: 169.6 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.6581, allocations: 1.75 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.6581, allocations: 384 / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.6583, allocations: 54.61 kB / 0.9518 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.6583, allocations: 4.125 kB / 0.9518 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.6583, allocations: 3.938 kB / 0.9518 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.6583, allocations: 5.359 kB / 0.9518 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.6585, allocations: 33.83 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.6587, allocations: 241.2 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.6589, allocations: 46.81 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.6589, allocations: 26.45 kB / 0.9521 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.659, allocations: 1.375 kB / 0.9521 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.659, allocations: 30.56 kB / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.659, allocations: 1.375 kB / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003347/0.6593, allocations: 83.89 kB / 0.9522 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.6594, allocations: 55.34 kB / 0.9523 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.6594, allocations: 95.36 kB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.6594, allocations: 25.7 kB / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.6595, allocations: 85.52 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.6595, allocations: 13.2 kB / 0.9525 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.6595, allocations: 16.59 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.6596, allocations: 314.8 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.6597, allocations: 13.61 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.931e-05/0.6597, allocations: 25.53 kB / 0.9528 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.6599, allocations: 40.14 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6599, allocations: 0 / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001788/0.6601, allocations: 72.22 kB / 0.9529 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6601, allocations: 4.125 kB / 0.9529 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6601, allocations: 1.562 kB / 0.9529 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.6601, allocations: 0 / 0.9529 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.6602, allocations: 13.98 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.6602, allocations: 0 / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.6603, allocations: 8.062 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.6603, allocations: 1.25 kB / 0.953 GB, free: 5.977 MB / 0.7169 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 5.297e-05/0.6604, allocations: 115.2 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.6604, allocations: 5.312 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.6606, allocations: 69.98 kB / 0.9531 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.6606, allocations: 1.312 kB / 0.9531 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6606, allocations: 4.031 kB / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6606, allocations: 0 / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.6608, allocations: 165.8 kB / 0.9533 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6608, allocations: 1.344 kB / 0.9533 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.6608, allocations: 9.484 kB / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.6608, allocations: 0 / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.6609, allocations: 1.156 kB / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6609, allocations: 0 / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6609, allocations: 4.844 kB / 0.9533 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.6611, allocations: 167.1 kB / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.6611, allocations: 78.73 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.6611, allocations: 0 / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.6612, allocations: 8.109 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.6612, allocations: 1.406 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.6612, allocations: 0 / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.722e-05/0.6613, allocations: 91.05 kB / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6613, allocations: 0 / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002142/0.6615, allocations: 3.562 kB / 0.9537 GB, free: 5.238 MB / 0.7169 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.0001248/0.6616, allocations: 101.5 kB / 0.9538 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.6618, allocations: 37.08 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6618, allocations: 0 / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.6619, allocations: 28.61 kB / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.6622, allocations: 5.469 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.6625, allocations: 128.6 kB / 0.9539 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.6626, allocations: 0.677 MB / 0.9546 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.6626, allocations: 8.812 kB / 0.9546 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6626, allocations: 0 / 0.9546 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of Templates: time 0.001849/0.6645, allocations: 0.5445 MB / 0.9551 GB, free: 3.988 MB / 0.7169 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