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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001358/0.001358, allocations: 103.8 kB / 16.27 MB, free: 5.98 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.001533/0.001533, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 67.38 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3146, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002091/0.3167, allocations: 0.7027 MB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3178, allocations: 0.8468 MB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.3178, allocations: 3.938 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.3179, allocations: 7.922 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.334e-05/0.318, allocations: 11.81 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.3181, allocations: 19.98 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.3182, allocations: 63.84 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3184, allocations: 19.98 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3185, allocations: 27.86 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.969e-05/0.3186, allocations: 27.84 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.3186, allocations: 8 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.3186, allocations: 4 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.3186, allocations: 11.94 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.3187, allocations: 35.84 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3188, allocations: 56.12 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3188, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3188, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3188, allocations: 4 kB / 1.066 GB, free: 13.19 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.0004577/0.3193, allocations: 367.2 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3193, allocations: 8.031 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3194, allocations: 12.78 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.3196, allocations: 200.2 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3196, allocations: 4.375 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.3197, allocations: 384 / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3198, allocations: 62.17 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3198, allocations: 192 / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3198, allocations: 7.938 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3198, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.919e-05/0.3199, allocations: 23.98 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.3203, allocations: 296.8 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.3206, allocations: 70.47 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.3207, allocations: 25 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.3207, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.3207, allocations: 34.56 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.3207, allocations: 0 / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002512/0.321, allocations: 73.52 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.321, allocations: 55.41 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.3211, allocations: 121.8 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3211, allocations: 29.7 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.3212, allocations: 88.14 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.3212, allocations: 7.906 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.3213, allocations: 17.7 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3214, allocations: 322.8 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.3214, allocations: 15.98 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.3215, allocations: 29.7 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.753e-05/0.3216, allocations: 41.14 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3216, allocations: 3.938 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001417/0.3217, allocations: 69.52 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3218, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3218, allocations: 7.938 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3218, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/0.3219, allocations: 4 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3219, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.3219, allocations: 15.92 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.3219, allocations: 4 kB / 1.068 GB, free: 10.98 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 7.578e-05/0.322, allocations: 118.3 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.3221, allocations: 3.906 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.3221, allocations: 11.91 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3221, allocations: 3.984 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3221, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3221, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.3223, allocations: 169.7 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3223, allocations: 8 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.3223, allocations: 7.984 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3224, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3224, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3224, allocations: 3.938 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3224, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.3226, allocations: 159.4 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.3226, allocations: 85.11 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3226, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.3227, allocations: 7.984 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.3228, allocations: 7.984 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3228, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.3228, allocations: 95.27 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3228, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002203/0.3231, allocations: 8 kB / 1.069 GB, free: 10.2 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 9.078e-05/0.3232, allocations: 99.25 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001655/0.3233, allocations: 39.91 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3233, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.3234, allocations: 16 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3237, allocations: 16.67 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.3241, allocations: 201.3 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3245, allocations: 0.6846 MB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.3245, allocations: 11.44 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3245, allocations: 0 / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of Templates: time 0.002459/0.327, allocations: 0.8508 MB / 1.07 GB, free: 8.227 MB / 0.8419 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 -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