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.001135/0.001135, allocations: 108.8 kB / 16.41 MB, free: 6.355 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.00115/0.00115, allocations: 189.8 kB / 17.34 MB, free: 5.68 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.567/2.567, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 71.88 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8431/0.8447, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001948/0.8466, allocations: 0.7125 MB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009983/0.8477, allocations: 0.8351 MB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.8478, allocations: 4 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.8478, allocations: 7.875 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.08e-05/0.8479, allocations: 15.84 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.8481, allocations: 19.98 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.8482, allocations: 59.78 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.8483, allocations: 23.95 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.8484, allocations: 27.91 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.8485, allocations: 31.84 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.8486, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.8486, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.8486, allocations: 11.94 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.8486, allocations: 23.86 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.8488, allocations: 79.7 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8488, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8488, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8488, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 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.0004911/0.8493, allocations: 372.9 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.8493, allocations: 8.031 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.8494, allocations: 8.844 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.8496, allocations: 188.3 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.8497, allocations: 4.375 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.8497, allocations: 8.375 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.8498, allocations: 58.22 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.8498, allocations: 4.125 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.8499, allocations: 3.938 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.8499, allocations: 4 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.85, allocations: 31.92 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.8504, allocations: 296.8 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.8507, allocations: 70.47 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.8507, allocations: 21 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.8508, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.8508, allocations: 34.56 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.8508, allocations: 0 / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002392/0.851, allocations: 69.58 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.8511, allocations: 51.41 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.8512, allocations: 125.8 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.8512, allocations: 29.7 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.8512, allocations: 92.05 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.8513, allocations: 15.89 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.8513, allocations: 21.66 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.8514, allocations: 322.8 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.8515, allocations: 15.94 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.8515, allocations: 29.7 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.8516, allocations: 29.11 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8516, allocations: 4.031 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001406/0.8518, allocations: 65.67 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.8518, allocations: 4 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8518, allocations: 0 / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8518, allocations: 0 / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.8519, allocations: 7.938 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.8519, allocations: 0 / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.852, allocations: 15.98 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.852, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 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.828e-05/0.8521, allocations: 121.8 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.8521, allocations: 7.906 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.8521, allocations: 7.891 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.8521, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8522, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.8522, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.8523, allocations: 181.6 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8523, allocations: 0 / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.8524, allocations: 7.984 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8524, allocations: 4 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.8524, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8524, allocations: 4 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8524, allocations: 3.938 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.8526, allocations: 159.3 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.8526, allocations: 81.11 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.8527, allocations: 0 / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.8527, allocations: 11.98 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.8528, allocations: 11.98 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.8528, allocations: 0 / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.8529, allocations: 95.27 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.342e-06/0.8529, allocations: 0 / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002315/0.8531, allocations: 19.78 kB / 1.213 GB, free: 8.785 MB / 0.9356 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.655e-05/0.8532, allocations: 95.25 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.8534, allocations: 39.97 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8534, allocations: 0 / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.066e-05/0.8534, allocations: 19.94 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.8537, allocations: 12.69 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.8541, allocations: 181.5 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.8543, allocations: 0.6846 MB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.8544, allocations: 19.44 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.8544, allocations: 0 / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of Templates: time 0.002263/0.8566, allocations: 0.8479 MB / 1.215 GB, free: 6.824 MB / 0.9356 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