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.001637/0.001637, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002583/0.002583, allocations: 189.9 kB / 16.25 MB, free: 6.621 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.491/1.491, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.425/2.425, allocations: 390.2 MB / 0.6643 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001605, allocations: 71.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8439/0.8455, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.00237/0.8479, allocations: 0.7267 MB / 0.9498 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.849, allocations: 0.8123 MB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.8491, allocations: 1.75 kB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.8491, allocations: 4 kB / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.8492, allocations: 0 / 0.9506 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.8494, allocations: 13.36 kB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.941e-05/0.8495, allocations: 14.09 kB / 0.9506 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.8496, allocations: 10.92 kB / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.528e-05/0.8496, allocations: 2.969 kB / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.8497, allocations: 18.59 kB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.8497, allocations: 2.75 kB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.8497, allocations: 1.469 kB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.8498, allocations: 5.281 kB / 0.9507 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.8498, allocations: 9.312 kB / 0.9507 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.883e-05/0.8499, allocations: 35.89 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8499, allocations: 1.25 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.275e-06/0.8499, allocations: 0 / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.8499, allocations: 0 / 0.9507 GB, free: 7.895 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.0003939/0.8503, allocations: 341.6 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.8504, allocations: 9.625 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.8504, allocations: 0.9375 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.8505, allocations: 167 kB / 0.9512 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.8505, allocations: 4.375 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.8505, allocations: 1.75 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.8507, allocations: 49.23 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.8507, allocations: 192 / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.8508, allocations: 5.312 kB / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8508, allocations: 0 / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.8509, allocations: 39.14 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.8513, allocations: 245.2 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.8514, allocations: 38.88 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.8515, allocations: 26.45 kB / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.8515, allocations: 0 / 0.9516 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.8515, allocations: 35.94 kB / 0.9517 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.8515, allocations: 0 / 0.9517 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003184/0.8518, allocations: 81.2 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.8519, allocations: 51.41 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.954e-05/0.8519, allocations: 99.36 kB / 0.9519 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/0.852, allocations: 25.7 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.852, allocations: 93.62 kB / 0.952 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.852, allocations: 9.219 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.8521, allocations: 11.09 kB / 0.952 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.8521, allocations: 312.2 kB / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.8522, allocations: 21.55 kB / 0.9523 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.8523, allocations: 16.22 kB / 0.9523 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.8524, allocations: 44.55 kB / 0.9524 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8524, allocations: 3.938 kB / 0.9524 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001802/0.8526, allocations: 68.62 kB / 0.9525 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.8526, allocations: 5 kB / 0.9525 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8526, allocations: 0 / 0.9525 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8527, allocations: 1.5 kB / 0.9525 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.8528, allocations: 17.03 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.8528, allocations: 1.5 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.8528, allocations: 3.219 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.8529, allocations: 0.875 kB / 0.9525 GB, free: 6.086 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 8.594e-05/0.8529, allocations: 114.7 kB / 0.9526 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.853, allocations: 9.938 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.8532, allocations: 77.94 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8532, allocations: 1.156 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8532, allocations: 0 / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8533, allocations: 0 / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.8534, allocations: 163 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8534, allocations: 0 / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.8535, allocations: 9.922 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.8535, allocations: 4 kB / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.8535, allocations: 0.6562 kB / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8535, allocations: 0.5625 kB / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8536, allocations: 4.031 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.8538, allocations: 167.5 kB / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.8538, allocations: 78.58 kB / 0.9531 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.8538, allocations: 3.984 kB / 0.9531 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.8539, allocations: 4.562 kB / 0.9531 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.8539, allocations: 5.562 kB / 0.9531 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.854, allocations: 0 / 0.9531 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.754e-05/0.854, allocations: 86.42 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.854, allocations: 0 / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002121/0.8542, allocations: 3.719 kB / 0.9532 GB, free: 5.34 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.0001364/0.8543, allocations: 98.69 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.8546, allocations: 40.98 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8546, allocations: 3.938 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.8547, allocations: 23.05 kB / 0.9533 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.855, allocations: 6.281 kB / 0.9533 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.8553, allocations: 105.4 kB / 0.9534 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.8555, allocations: 0.6805 MB / 0.9541 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.8555, allocations: 5.25 kB / 0.9541 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.8556, allocations: 8.562 kB / 0.9541 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of SimCode: time 8.12e-07/0.8556, allocations: 0 / 0.9541 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.003076/0.8586, allocations: 386.9 kB / 0.9545 GB, free: 4.188 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/jenkins/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