Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006079/0.006079, allocations: 102 kB / 15.73 MB, free: 6.02 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.001162/0.001162, allocations: 194.4 kB / 16.67 MB, free: 5.93 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.645/2.645, allocations: 469.8 MB / 0.7425 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.89 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.05, allocations: 159.1 MB / 1.221 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001967/1.052, allocations: 0.7016 MB / 1.221 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001046/1.053, allocations: 0.8507 MB / 1.222 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/1.053, allocations: 0 / 1.222 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/1.053, allocations: 3.938 kB / 1.222 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/1.053, allocations: 7.938 kB / 1.222 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/1.053, allocations: 23.91 kB / 1.222 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/1.053, allocations: 63.78 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/1.053, allocations: 19.94 kB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/1.054, allocations: 35.84 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/1.054, allocations: 23.86 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/1.054, allocations: 4 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/1.054, allocations: 4 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/1.054, allocations: 15.98 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/1.054, allocations: 19.88 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/1.054, allocations: 72.27 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.054, allocations: 0 / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.112e-06/1.054, allocations: 4 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.104e-06/1.054, allocations: 0 / 1.222 GB, free: 300 kB / 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.0005618/1.054, allocations: 371.2 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/1.054, allocations: 8.031 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/1.055, allocations: 8.891 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/1.055, allocations: 192.2 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/1.055, allocations: 8.312 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/1.055, allocations: 8.375 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/1.055, allocations: 58.23 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.055, allocations: 192 / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/1.055, allocations: 3.938 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.055, allocations: 7.938 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/1.055, allocations: 31.97 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/1.056, allocations: 292.8 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/1.056, allocations: 74.58 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/1.056, allocations: 12.86 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/1.056, allocations: 0 / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/1.056, allocations: 34.56 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/1.056, allocations: 4 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0003077/1.056, allocations: 81.64 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/1.056, allocations: 51.41 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/1.056, allocations: 117.8 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/1.056, allocations: 25.7 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/1.056, allocations: 100 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/1.056, allocations: 7.953 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/1.056, allocations: 17.72 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.057, allocations: 326.8 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/1.057, allocations: 12 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/1.057, allocations: 29.7 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/1.057, allocations: 28.84 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.057, allocations: 0 / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/1.057, allocations: 73.88 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.057, allocations: 8 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.057, allocations: 0 / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.057, allocations: 48 / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/1.057, allocations: 11.97 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/1.057, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.253e-05/1.057, allocations: 4 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/1.057, allocations: 4 kB / 1.224 GB, free: 14.09 MB / 0.9512 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 0.00011/1.057, allocations: 121.8 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/1.057, allocations: 4 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/1.057, allocations: 11.91 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.057, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.057, allocations: 3.938 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.057, allocations: 3.938 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/1.057, allocations: 177.5 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.057, allocations: 4 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/1.057, allocations: 7.938 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.057, allocations: 0 / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/1.057, allocations: 4 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.057, allocations: 4 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.057, allocations: 3.984 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/1.058, allocations: 151.5 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/1.058, allocations: 89.05 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/1.058, allocations: 4 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/1.058, allocations: 4 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/1.058, allocations: 7.984 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/1.058, allocations: 4 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.846e-05/1.058, allocations: 95.27 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.1e-08/1.058, allocations: 0 / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002121/1.058, allocations: 8 kB / 1.225 GB, free: 13.29 MB / 0.9512 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.592e-05/1.058, allocations: 103.2 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001512/1.058, allocations: 31.98 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.058, allocations: 4 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.157e-05/1.058, allocations: 15.98 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/1.059, allocations: 11.94 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/1.059, allocations: 167.5 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/1.059, allocations: 0.6866 MB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.678e-05/1.059, allocations: 7.984 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/1.059, allocations: 11.44 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/1.059, allocations: 0 / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of Templates: time 0.002658/1.062, allocations: 0.7072 MB / 1.227 GB, free: 11.49 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches