Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_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_latest_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.0106/0.0106, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001643/0.001643, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.852/2.852, allocations: 472.7 MB / 0.7453 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 60.12 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.045, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001774/1.047, allocations: 0.6979 MB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001042/1.048, allocations: 0.8507 MB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/1.048, allocations: 0 / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/1.048, allocations: 3.938 kB / 1.227 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.967e-05/1.048, allocations: 15.86 kB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/1.049, allocations: 11.98 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/1.049, allocations: 67.77 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/1.049, allocations: 19.95 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/1.049, allocations: 27.92 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.623e-05/1.049, allocations: 35.77 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/1.049, allocations: 8 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/1.049, allocations: 4 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/1.049, allocations: 4 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/1.049, allocations: 31.86 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/1.049, allocations: 67.28 kB / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/1.049, allocations: 0 / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.022e-06/1.049, allocations: 0 / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.94e-06/1.049, allocations: 4 kB / 1.227 GB, free: 11.72 MB / 0.9512 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.0004999/1.05, allocations: 364.2 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/1.05, allocations: 8.031 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/1.05, allocations: 8.891 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/1.05, allocations: 200.1 kB / 1.228 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/1.05, allocations: 12.31 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/1.05, allocations: 8.312 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/1.05, allocations: 58.23 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.05, allocations: 192 / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/1.05, allocations: 3.938 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.05, allocations: 0 / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/1.051, allocations: 27.98 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/1.051, allocations: 300.8 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/1.051, allocations: 66.53 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/1.051, allocations: 21 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/1.051, allocations: 4.062 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/1.051, allocations: 34.56 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.051, allocations: 4 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002368/1.052, allocations: 73.56 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/1.052, allocations: 51.41 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/1.052, allocations: 121.8 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.052, allocations: 29.7 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/1.052, allocations: 96.03 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/1.052, allocations: 11.94 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/1.052, allocations: 17.72 kB / 1.229 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.052, allocations: 322.8 kB / 1.229 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/1.052, allocations: 15.98 kB / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/1.052, allocations: 25.7 kB / 1.229 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.211e-05/1.052, allocations: 33.11 kB / 1.229 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.052, allocations: 4 kB / 1.229 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001413/1.052, allocations: 73.59 kB / 1.229 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.052, allocations: 4 kB / 1.229 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.052, allocations: 0 / 1.229 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.052, allocations: 4 kB / 1.229 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/1.053, allocations: 7.938 kB / 1.229 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.053, allocations: 3.984 kB / 1.229 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/1.053, allocations: 7.984 kB / 1.229 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/1.053, allocations: 0 / 1.229 GB, free: 9.504 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 (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 8.234e-05/1.053, allocations: 121.8 kB / 1.229 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/1.053, allocations: 4 kB / 1.229 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/1.053, allocations: 11.89 kB / 1.229 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.053, allocations: 4 kB / 1.229 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.053, allocations: 0 / 1.229 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/1.053, allocations: 0 / 1.229 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/1.053, allocations: 177.5 kB / 1.23 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.053, allocations: 0 / 1.23 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/1.053, allocations: 11.92 kB / 1.23 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.053, allocations: 11.94 kB / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/1.053, allocations: 0 / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.053, allocations: 0 / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.053, allocations: 0 / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/1.053, allocations: 155.5 kB / 1.23 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/1.053, allocations: 81.06 kB / 1.23 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/1.053, allocations: 8 kB / 1.23 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/1.053, allocations: 7.984 kB / 1.23 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/1.053, allocations: 7.984 kB / 1.23 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/1.053, allocations: 4 kB / 1.23 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.381e-05/1.054, allocations: 95.27 kB / 1.23 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.054, allocations: 0 / 1.23 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002155/1.054, allocations: 8 kB / 1.23 GB, free: 8.707 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 (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 0.0001047/1.054, allocations: 99.23 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001562/1.054, allocations: 43.91 kB / 1.23 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.054, allocations: 0 / 1.23 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/1.054, allocations: 12 kB / 1.23 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/1.054, allocations: 17.02 kB / 1.23 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/1.055, allocations: 171.4 kB / 1.23 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/1.055, allocations: 0.6846 MB / 1.231 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.411e-05/1.055, allocations: 11.94 kB / 1.231 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/1.055, allocations: 15.42 kB / 1.231 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/1.055, allocations: 0 / 1.231 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of Templates: time 0.003468/1.059, allocations: 0.7013 MB / 1.232 GB, free: 6.906 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches