Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00196/0.001961, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.00203/0.00203, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.537/1.537, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.743 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 72.02 kB / 0.9092 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3386, allocations: 159.1 MB / 1.065 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002202/0.3408, allocations: 0.7066 MB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.342, allocations: 0.8429 MB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.3421, allocations: 4 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.3421, allocations: 7.875 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.3422, allocations: 11.86 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.3424, allocations: 23.92 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.3425, allocations: 55.86 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3426, allocations: 27.97 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.3427, allocations: 19.92 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.3428, allocations: 27.86 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.3428, allocations: 4 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.3429, allocations: 8 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.3429, allocations: 15.92 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.3429, allocations: 31.8 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.3431, allocations: 64.11 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3431, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3431, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3431, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005356/0.3436, allocations: 367.2 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3437, allocations: 8.031 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.3437, allocations: 8.844 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.344, allocations: 200.1 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.344, allocations: 384 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.344, allocations: 4.375 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.3442, allocations: 54.23 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3442, allocations: 4.188 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3442, allocations: 7.938 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3442, allocations: 4 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3443, allocations: 31.91 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.3448, allocations: 292.8 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.3451, allocations: 78.45 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.788e-05/0.3452, allocations: 16.92 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3452, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3452, allocations: 34.64 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.3452, allocations: 4 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002579/0.3455, allocations: 73.58 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.3456, allocations: 55.41 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3457, allocations: 121.8 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3457, allocations: 29.64 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.3458, allocations: 96.06 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.3458, allocations: 7.906 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.3458, allocations: 17.7 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.346, allocations: 322.8 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.3461, allocations: 15.98 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.3461, allocations: 29.72 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.584e-05/0.3462, allocations: 28.83 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3462, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001412/0.3464, allocations: 65.59 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3464, allocations: 8.031 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3464, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.3464, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.3465, allocations: 15.86 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3465, allocations: 4 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.3466, allocations: 11.92 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3466, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (shaT.hys.y,$PRE.shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001079/0.3467, allocations: 117.8 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.3467, allocations: 11.91 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.3468, allocations: 7.906 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3468, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3468, allocations: 4 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3468, allocations: 4 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.347, allocations: 177.6 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.347, allocations: 0 / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.3471, allocations: 4 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3471, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3471, allocations: 11.98 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3471, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3471, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.3473, allocations: 163.6 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.3474, allocations: 77.11 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3474, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.3475, allocations: 7.984 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.3475, allocations: 8.031 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3475, allocations: 7.984 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.017e-05/0.3476, allocations: 95.28 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3476, allocations: 0 / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002169/0.3478, allocations: 8 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001087/0.3479, allocations: 99.77 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.3481, allocations: 35.92 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3481, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/0.3482, allocations: 23.92 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3485, allocations: 14.12 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.3489, allocations: 189.4 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.3493, allocations: 0.6924 MB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.3493, allocations: 15.38 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3493, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of Templates: time 0.002339/0.3517, allocations: 0.8352 MB / 1.071 GB, free: 7.961 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches