Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_9_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_9_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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001293/0.001293, allocations: 195 kB / 16.14 MB, free: 6.656 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 67.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8338, allocations: 140.4 MB / 0.9489 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002017/0.8358, allocations: 0.7556 MB / 0.9497 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.8366, allocations: 0.8497 MB / 0.9505 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.8367, allocations: 1.375 kB / 0.9505 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.8367, allocations: 0 / 0.9505 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.069e-05/0.8368, allocations: 5.312 kB / 0.9505 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.837, allocations: 22.66 kB / 0.9505 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.8371, allocations: 59.16 kB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.8372, allocations: 20.25 kB / 0.9506 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.8373, allocations: 21.55 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.8374, allocations: 22.78 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.8374, allocations: 2.75 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/0.8374, allocations: 6.688 kB / 0.9506 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.8375, allocations: 13.3 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.8375, allocations: 21.36 kB / 0.9507 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.8377, allocations: 71.48 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8377, allocations: 3.938 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8377, allocations: 0 / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.8377, allocations: 4 kB / 0.9507 GB, free: 7.688 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.0004795/0.8382, allocations: 365.2 kB / 0.9511 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.8382, allocations: 9.625 kB / 0.9511 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.8383, allocations: 12.95 kB / 0.9511 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.8385, allocations: 187.3 kB / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.8385, allocations: 1.75 kB / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.8386, allocations: 3.125 kB / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.8387, allocations: 59.98 kB / 0.9514 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.8387, allocations: 192 / 0.9514 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.8387, allocations: 9.312 kB / 0.9514 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.8388, allocations: 3.984 kB / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.8389, allocations: 28.05 kB / 0.9514 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.8393, allocations: 306.8 kB / 0.9517 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.8396, allocations: 65.38 kB / 0.9518 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.8397, allocations: 25.28 kB / 0.9518 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.8397, allocations: 0 / 0.9518 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.8397, allocations: 35.97 kB / 0.9518 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.8397, allocations: 0 / 0.9518 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002558/0.84, allocations: 69.86 kB / 0.9519 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.84, allocations: 52.44 kB / 0.9519 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.8401, allocations: 126.1 kB / 0.952 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.8401, allocations: 25.7 kB / 0.9521 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.8402, allocations: 96.27 kB / 0.9522 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.8402, allocations: 9.375 kB / 0.9522 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.8402, allocations: 20.42 kB / 0.9522 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.8403, allocations: 321.1 kB / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.777e-05/0.8404, allocations: 20.58 kB / 0.9525 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.144e-05/0.8404, allocations: 30.58 kB / 0.9525 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.8405, allocations: 27.12 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8405, allocations: 0 / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/0.8407, allocations: 67.09 kB / 0.9526 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8407, allocations: 5.25 kB / 0.9526 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.8407, allocations: 5.578 kB / 0.9526 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.8407, allocations: 0 / 0.9526 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.8408, allocations: 7.656 kB / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.8408, allocations: 1.219 kB / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.8409, allocations: 12.86 kB / 0.9527 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.8409, allocations: 1.312 kB / 0.9527 GB, free: 5.75 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 (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.098e-05/0.841, allocations: 121.9 kB / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.841, allocations: 2.562 kB / 0.9528 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.841, allocations: 9.281 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.841, allocations: 4 kB / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.841, allocations: 1.344 kB / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.8411, allocations: 3.984 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.8412, allocations: 175.4 kB / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.8412, allocations: 0 / 0.953 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.8413, allocations: 8.672 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.8413, allocations: 1.469 kB / 0.953 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.8413, allocations: 8.328 kB / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.8413, allocations: 0 / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8413, allocations: 1.469 kB / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.8415, allocations: 162 kB / 0.9531 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.8415, allocations: 82.36 kB / 0.9532 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.8415, allocations: 5.312 kB / 0.9532 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.8416, allocations: 7.703 kB / 0.9532 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.8417, allocations: 12.02 kB / 0.9532 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.8417, allocations: 0 / 0.9532 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.894e-05/0.8417, allocations: 98.64 kB / 0.9533 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8417, allocations: 0 / 0.9533 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002323/0.842, allocations: 11.5 kB / 0.9534 GB, free: 5.023 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 (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.000107/0.8421, allocations: 95.64 kB / 0.9534 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.8423, allocations: 31.7 kB / 0.9535 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8423, allocations: 5.031 kB / 0.9535 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.8423, allocations: 21.95 kB / 0.9535 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.8426, allocations: 10.38 kB / 0.9535 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.843, allocations: 166 kB / 0.9537 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.8431, allocations: 0.6899 MB / 0.9543 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.8432, allocations: 2.375 kB / 0.9543 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.8432, allocations: 11 kB / 0.9544 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.8432, allocations: 0 / 0.9544 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of Templates: time 0.002966/0.8462, allocations: 0.6073 MB / 0.9549 GB, free: 3.73 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches