Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.885/2.885, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] 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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 67.89 kB / 1.107 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386/1.388, allocations: 168.7 MB / 1.272 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002848/1.391, allocations: 0.7125 MB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001408/1.392, allocations: 0.8451 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/1.392, allocations: 0.8125 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/1.392, allocations: 5.359 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/1.392, allocations: 10.08 kB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/1.393, allocations: 21.8 kB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/1.393, allocations: 64.2 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/1.393, allocations: 19.48 kB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/1.393, allocations: 29.06 kB / 1.274 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/1.393, allocations: 24.94 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/1.393, allocations: 5.031 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/1.393, allocations: 5.406 kB / 1.274 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/1.393, allocations: 12.28 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/1.393, allocations: 27.72 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/1.394, allocations: 68.12 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.394, allocations: 0.7188 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.204e-06/1.394, allocations: 4 kB / 1.274 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.121e-06/1.394, allocations: 0 / 1.274 GB, free: 6.711 MB / 0.9981 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.0005962/1.394, allocations: 369.2 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.394, allocations: 9.125 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/1.394, allocations: 7.922 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/1.395, allocations: 201 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/1.395, allocations: 3.156 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/1.395, allocations: 15.17 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/1.395, allocations: 53.69 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.395, allocations: 1.281 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/1.395, allocations: 3.938 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.395, allocations: 0.8125 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/1.395, allocations: 34.02 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/1.395, allocations: 296.4 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/1.396, allocations: 65.47 kB / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/1.396, allocations: 19.56 kB / 1.275 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/1.396, allocations: 4.844 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/1.396, allocations: 35.56 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/1.396, allocations: 4 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003478/1.396, allocations: 67.94 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/1.396, allocations: 51.41 kB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.396, allocations: 125 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/1.396, allocations: 26.45 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/1.397, allocations: 97.73 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/1.397, allocations: 9.672 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/1.397, allocations: 22.7 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/1.397, allocations: 318.2 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/1.397, allocations: 14.09 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.467e-05/1.397, allocations: 35.75 kB / 1.276 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/1.397, allocations: 26.23 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.397, allocations: 1.219 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001928/1.397, allocations: 75.7 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.397, allocations: 5.062 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.397, allocations: 3.984 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.397, allocations: 4.906 kB / 1.276 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/1.397, allocations: 8 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/1.397, allocations: 1.125 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.265e-05/1.397, allocations: 12 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/1.397, allocations: 5.875 kB / 1.276 GB, free: 4.863 MB / 0.9981 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 7.851e-05/1.397, allocations: 118.7 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/1.397, allocations: 6.797 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/1.397, allocations: 10.06 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.397, allocations: 2.391 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.397, allocations: 0.9062 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.397, allocations: 0 / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/1.398, allocations: 183.7 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/1.398, allocations: 3.984 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/1.398, allocations: 4.281 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/1.398, allocations: 2.656 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.398, allocations: 0 / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.398, allocations: 4.906 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.398, allocations: 0 / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/1.398, allocations: 159.2 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/1.398, allocations: 82.84 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/1.398, allocations: 3.562 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/1.398, allocations: 4.016 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/1.398, allocations: 16.7 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/1.398, allocations: 1.938 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.643e-05/1.398, allocations: 90.55 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.398, allocations: 0.75 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003942/1.399, allocations: 7.312 kB / 1.276 GB, free: 4.18 MB / 0.9981 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.0001234/1.399, allocations: 100.6 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002231/1.399, allocations: 28.06 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.399, allocations: 8 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/1.399, allocations: 17.77 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/1.4, allocations: 12.2 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/1.4, allocations: 167 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/1.4, allocations: 0.6844 MB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.246e-05/1.4, allocations: 13.7 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/1.4, allocations: 11 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.4, allocations: 0 / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of Templates: time 0.004827/1.405, allocations: 0.7183 MB / 1.278 GB, free: 3.137 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.936007412150502]