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.001105/0.001105, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.00135/0.00135, allocations: 168.7 kB / 15.95 MB, free: 204 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.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.398 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.576/2.576, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005247, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.832/0.8326, allocations: 142.4 MB / 0.9545 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.000978/0.8336, allocations: 386.4 kB / 0.9548 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008275/0.8344, allocations: 0.8076 MB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.8345, allocations: 0 / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.8345, allocations: 3.938 kB / 0.9556 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.857e-05/0.8346, allocations: 1.625 kB / 0.9556 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.8348, allocations: 9.359 kB / 0.9556 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.536e-05/0.8349, allocations: 27.95 kB / 0.9557 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.835, allocations: 6.406 kB / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.8351, allocations: 2.188 kB / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.8351, allocations: 14.77 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.8352, allocations: 1.406 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.8352, allocations: 1.281 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.8352, allocations: 5.047 kB / 0.9557 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.8352, allocations: 26.73 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.402e-05/0.8353, allocations: 14.62 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.8353, allocations: 1.406 kB / 0.9557 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8353, allocations: 4 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.8353, allocations: 0 / 0.9557 GB, free: 6.676 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.0004688/0.8358, allocations: 345.8 kB / 0.9561 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.8359, allocations: 9.281 kB / 0.9561 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.8359, allocations: 5.016 kB / 0.9561 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.8361, allocations: 164.4 kB / 0.9562 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.8361, allocations: 1.219 kB / 0.9562 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.8361, allocations: 5.25 kB / 0.9562 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.8363, allocations: 52.92 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.8363, allocations: 0 / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.8363, allocations: 1.406 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8364, allocations: 0 / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.8365, allocations: 52.38 kB / 0.9563 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.8369, allocations: 248.5 kB / 0.9566 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.8371, allocations: 43.69 kB / 0.9566 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.8372, allocations: 27.72 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.8372, allocations: 0.8438 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.8372, allocations: 35.67 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.8373, allocations: 0 / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003908/0.8376, allocations: 106.9 kB / 0.9568 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.8377, allocations: 52.56 kB / 0.9568 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.8378, allocations: 106.9 kB / 0.9569 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.8378, allocations: 25.7 kB / 0.957 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.8378, allocations: 81.77 kB / 0.957 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.8379, allocations: 7.844 kB / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.8379, allocations: 1.125 kB / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.8379, allocations: 320.4 kB / 0.9573 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.838, allocations: 16.86 kB / 0.9574 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.8381, allocations: 26.42 kB / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.327e-05/0.8382, allocations: 18.08 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8382, allocations: 0 / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.8384, allocations: 82.53 kB / 0.9575 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.8384, allocations: 10.34 kB / 0.9575 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.8385, allocations: 1.094 kB / 0.9575 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8385, allocations: 3.938 kB / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.8386, allocations: 17 kB / 0.9575 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.8386, allocations: 0 / 0.9575 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.8387, allocations: 18.45 kB / 0.9575 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.8387, allocations: 0 / 0.9575 GB, free: 4.875 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.8388, allocations: 108.2 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.8388, allocations: 1.25 kB / 0.9576 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.839, allocations: 83.88 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.839, allocations: 1.219 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.8391, allocations: 3.953 kB / 0.9577 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8391, allocations: 7.938 kB / 0.9577 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.8392, allocations: 158.1 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8392, allocations: 1.062 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.8393, allocations: 7.562 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.8393, allocations: 5.156 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.8393, allocations: 3.984 kB / 0.9579 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8393, allocations: 1.094 kB / 0.9579 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8393, allocations: 0 / 0.9579 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.8395, allocations: 177 kB / 0.9581 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.8396, allocations: 82.2 kB / 0.9581 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.8396, allocations: 0 / 0.9581 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.8397, allocations: 6 kB / 0.9582 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.8397, allocations: 5.922 kB / 0.9582 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.8397, allocations: 1.125 kB / 0.9582 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.617e-05/0.8398, allocations: 78.12 kB / 0.9582 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8398, allocations: 4.031 kB / 0.9582 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002138/0.84, allocations: 7.516 kB / 0.9582 GB, free: 4.145 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 (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.0001353/0.8401, allocations: 105.5 kB / 0.9583 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.8403, allocations: 54.92 kB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8403, allocations: 0 / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.8404, allocations: 19.58 kB / 0.9584 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.8407, allocations: 4.891 kB / 0.9584 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.841, allocations: 111.9 kB / 0.9585 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.8411, allocations: 0.6773 MB / 0.9592 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.8411, allocations: 1.156 kB / 0.9592 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.8412, allocations: 11.38 kB / 0.9592 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8412, allocations: 1.094 kB / 0.9592 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.002583/0.8437, allocations: 359.7 kB / 0.9595 GB, free: 2.996 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