Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009534, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 179.6 kB / 16.92 MB, free: 6.652 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.54/1.54, allocations: 223.3 MB / 241 MB, free: 5.281 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.412/2.412, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003816, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8328, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0008622/0.8337, allocations: 431.2 kB / 0.9561 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.8345, allocations: 0.8427 MB / 0.9569 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.8346, allocations: 0 / 0.9569 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.8346, allocations: 0 / 0.9569 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.8347, allocations: 14.53 kB / 0.9569 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.8349, allocations: 18.34 kB / 0.957 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.673e-05/0.835, allocations: 58.22 kB / 0.957 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.8351, allocations: 15.48 kB / 0.957 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/0.8352, allocations: 20.92 kB / 0.9571 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.8353, allocations: 18.55 kB / 0.9571 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.8353, allocations: 1.406 kB / 0.9571 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.8353, allocations: 1.406 kB / 0.9571 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.8353, allocations: 18.64 kB / 0.9571 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.8354, allocations: 43.05 kB / 0.9571 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.148e-05/0.8355, allocations: 51.62 kB / 0.9572 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8355, allocations: 0 / 0.9572 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8355, allocations: 0 / 0.9572 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.8355, allocations: 1.031 kB / 0.9572 GB, free: 6.531 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003988/0.8359, allocations: 362.4 kB / 0.9575 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.8359, allocations: 13.44 kB / 0.9575 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.836, allocations: 8.094 kB / 0.9576 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.8362, allocations: 198 kB / 0.9577 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.8362, allocations: 5.5 kB / 0.9577 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.8363, allocations: 7.891 kB / 0.9578 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.8364, allocations: 57.5 kB / 0.9578 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.8364, allocations: 192 / 0.9578 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.8364, allocations: 9 kB / 0.9578 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.8365, allocations: 5.047 kB / 0.9578 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.8366, allocations: 31.08 kB / 0.9579 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.8369, allocations: 309.7 kB / 0.9581 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.8372, allocations: 82.91 kB / 0.9582 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.8373, allocations: 29.95 kB / 0.9583 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.8373, allocations: 1.344 kB / 0.9583 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.8374, allocations: 31.47 kB / 0.9583 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.8374, allocations: 3.938 kB / 0.9583 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002491/0.8376, allocations: 79.98 kB / 0.9584 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.8377, allocations: 51.41 kB / 0.9584 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.8377, allocations: 118.1 kB / 0.9585 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.8378, allocations: 34.81 kB / 0.9586 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.8378, allocations: 91.52 kB / 0.9586 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.8378, allocations: 8.781 kB / 0.9587 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.8379, allocations: 14.94 kB / 0.9587 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.8379, allocations: 319.9 kB / 0.959 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.838, allocations: 21.8 kB / 0.959 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.838, allocations: 29.94 kB / 0.959 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.8381, allocations: 38.14 kB / 0.9591 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8381, allocations: 0 / 0.9591 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001316/0.8383, allocations: 67.75 kB / 0.9591 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.8383, allocations: 6.719 kB / 0.9591 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.8383, allocations: 5.406 kB / 0.9591 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.8383, allocations: 0 / 0.9591 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-05/0.8384, allocations: 9.234 kB / 0.9591 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.8384, allocations: 0 / 0.9591 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.8385, allocations: 12.89 kB / 0.9592 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.8385, allocations: 5.438 kB / 0.9592 GB, free: 4.582 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: 2 (shaH.hys.y,$PRE.shaH.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 6.341e-05/0.8385, allocations: 121.8 kB / 0.9593 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.8386, allocations: 9.75 kB / 0.9593 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.8386, allocations: 9.188 kB / 0.9593 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.8386, allocations: 1.5 kB / 0.9593 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8386, allocations: 0 / 0.9593 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8386, allocations: 0 / 0.9593 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.8388, allocations: 179.9 kB / 0.9595 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8388, allocations: 1.938 kB / 0.9595 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.8388, allocations: 7.938 kB / 0.9595 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.8388, allocations: 0 / 0.9595 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.8388, allocations: 6.109 kB / 0.9595 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8388, allocations: 0 / 0.9595 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.8388, allocations: 0 / 0.9595 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.839, allocations: 162.3 kB / 0.9596 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.839, allocations: 79.17 kB / 0.9597 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.839, allocations: 5.688 kB / 0.9597 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.8391, allocations: 5.625 kB / 0.9597 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.8392, allocations: 19.45 kB / 0.9597 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.8392, allocations: 5.609 kB / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.8392, allocations: 89.09 kB / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8392, allocations: 0 / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000215/0.8395, allocations: 11.5 kB / 0.9598 GB, free: 3.863 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: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.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 7.825e-05/0.8395, allocations: 108.3 kB / 0.96 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.8397, allocations: 34.89 kB / 0.96 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8397, allocations: 0 / 0.96 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.8398, allocations: 20.11 kB / 0.96 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.84, allocations: 11.97 kB / 0.96 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.8404, allocations: 217.6 kB / 0.9602 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.8405, allocations: 0.6875 MB / 0.9609 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.8405, allocations: 9.25 kB / 0.9609 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8405, allocations: 0 / 0.9609 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.002049/0.8426, allocations: 0.8293 MB / 0.9617 GB, free: 2.398 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches