Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001153/0.001152, allocations: 113.4 kB / 16.37 MB, free: 5.953 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.001154/0.001154, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.545/2.545, allocations: 442.5 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.69 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001991/0.3289, allocations: 0.7049 MB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000929/0.3299, allocations: 0.8467 MB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.3299, allocations: 4 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.33, allocations: 3.938 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.431e-05/0.3301, allocations: 11.88 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.3302, allocations: 23.95 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.272e-05/0.3303, allocations: 55.86 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3305, allocations: 19.92 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.3306, allocations: 35.84 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.3306, allocations: 23.92 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3307, allocations: 8 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.3307, allocations: 4 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.3307, allocations: 11.92 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.3307, allocations: 23.88 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.3309, allocations: 67.77 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3309, allocations: 4 kB / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3309, allocations: 0 / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3309, allocations: 0 / 1.029 GB, free: 200 kB / 0.795 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.000489/0.3314, allocations: 375.2 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3314, allocations: 12.03 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.3315, allocations: 4.844 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.3317, allocations: 192.2 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3318, allocations: 4.375 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3318, allocations: 4.375 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3319, allocations: 58.23 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3319, allocations: 192 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3319, allocations: 7.938 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.332, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3321, allocations: 31.97 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.3325, allocations: 304.7 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.3327, allocations: 70.52 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.3328, allocations: 20.91 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3328, allocations: 0 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.3329, allocations: 38.5 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3329, allocations: 0 / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000242/0.3331, allocations: 73.66 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.3332, allocations: 59.34 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.3333, allocations: 117.8 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3333, allocations: 25.7 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.3333, allocations: 96.12 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.3334, allocations: 3.906 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.3334, allocations: 17.72 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3335, allocations: 322.8 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.3336, allocations: 19.98 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.3336, allocations: 29.66 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.3337, allocations: 28.84 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3337, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001352/0.3339, allocations: 65.58 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3339, allocations: 8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3339, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3339, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/0.334, allocations: 12.02 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.334, allocations: 3.984 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.334, allocations: 11.94 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3341, allocations: 7.984 kB / 1.03 GB, free: 13.98 MB / 0.8106 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 8.341e-05/0.3342, allocations: 125.7 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3342, allocations: 3.906 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.3342, allocations: 7.906 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3342, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3342, allocations: 4 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3342, allocations: 3.938 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.3344, allocations: 181.6 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3344, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.3345, allocations: 8 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3345, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3345, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3345, allocations: 3.984 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3345, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.3347, allocations: 167.3 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.3347, allocations: 77.48 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3347, allocations: 7.938 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.3348, allocations: 4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.3349, allocations: 11.98 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3349, allocations: 3.984 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.3349, allocations: 91.27 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3349, allocations: 0 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002167/0.3352, allocations: 12 kB / 1.031 GB, free: 13.18 MB / 0.8106 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.0001034/0.3353, allocations: 103.2 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.3354, allocations: 31.98 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3354, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.3355, allocations: 23.92 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.3358, allocations: 3.938 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.3362, allocations: 167.7 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.3364, allocations: 0.6807 MB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.695e-05/0.3364, allocations: 7.984 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.3365, allocations: 7.438 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.3365, allocations: 8 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of Templates: time 0.002764/0.3393, allocations: 0.7048 MB / 1.033 GB, free: 11.39 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches