Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_9_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_9_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.001662/0.001662, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.2 MB / 0.6649 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7164/0.7179, allocations: 140.4 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002/0.7199, allocations: 0.7566 MB / 0.9503 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.7208, allocations: 0.8451 MB / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.7209, allocations: 1.375 kB / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.7209, allocations: 0 / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.171e-05/0.721, allocations: 5.312 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.7212, allocations: 20.05 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.7213, allocations: 65.78 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.7214, allocations: 16.23 kB / 0.9512 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.642e-05/0.7215, allocations: 20.17 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.7216, allocations: 18.8 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.7216, allocations: 2.75 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.7216, allocations: 6.688 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.7216, allocations: 9.359 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.7217, allocations: 38.66 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.352e-05/0.7218, allocations: 43.52 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.7218, allocations: 1.375 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7218, allocations: 0 / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.7218, allocations: 0 / 0.9514 GB, free: 7.691 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.0004153/0.7222, allocations: 369.2 kB / 0.9517 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.7223, allocations: 9.094 kB / 0.9517 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.7223, allocations: 11.69 kB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.7225, allocations: 199.3 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.7226, allocations: 6.625 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.7226, allocations: 6.75 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.7227, allocations: 60.31 kB / 0.952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.7227, allocations: 192 / 0.952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7227, allocations: 9.047 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7228, allocations: 1.188 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.687e-05/0.7229, allocations: 28.02 kB / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.7232, allocations: 306.3 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.7235, allocations: 65.66 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.7236, allocations: 24.69 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.7236, allocations: 0 / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.7236, allocations: 35.69 kB / 0.9525 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.7236, allocations: 0 / 0.9525 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002557/0.7239, allocations: 71.03 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.7239, allocations: 51.41 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/0.724, allocations: 118.5 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.724, allocations: 33.7 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.7241, allocations: 100.1 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.7241, allocations: 5.219 kB / 0.9528 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.7241, allocations: 17.62 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.7242, allocations: 324.1 kB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/0.7242, allocations: 11.62 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.7243, allocations: 31.61 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.58e-05/0.7244, allocations: 34.53 kB / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7244, allocations: 0 / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/0.7245, allocations: 67.45 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.7245, allocations: 6.531 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7245, allocations: 0 / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7246, allocations: 0 / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.7246, allocations: 8.203 kB / 0.9533 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.7246, allocations: 1.75 kB / 0.9533 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.7247, allocations: 13.12 kB / 0.9533 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.7247, allocations: 0 / 0.9533 GB, free: 5.738 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 (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 6.09e-05/0.7248, allocations: 130.6 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.7248, allocations: 1.375 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.7248, allocations: 10.94 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.7248, allocations: 0 / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7249, allocations: 0 / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.7249, allocations: 0 / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.725, allocations: 180.5 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.725, allocations: 4 kB / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.725, allocations: 4.938 kB / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7251, allocations: 336 / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.7251, allocations: 0 / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7251, allocations: 1.344 kB / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7251, allocations: 0 / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.7252, allocations: 159.2 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.7253, allocations: 94.47 kB / 0.9539 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.7253, allocations: 9.438 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.7254, allocations: 2.656 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.7254, allocations: 7.734 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.7254, allocations: 1.281 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.7255, allocations: 93.39 kB / 0.954 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7255, allocations: 0 / 0.954 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002236/0.7257, allocations: 15.12 kB / 0.954 GB, free: 5.012 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 (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 8.551e-05/0.7258, allocations: 103.5 kB / 0.9541 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.726, allocations: 31.36 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.726, allocations: 0 / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.563e-05/0.726, allocations: 22.73 kB / 0.9542 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.7263, allocations: 6.688 kB / 0.9542 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.7267, allocations: 203 kB / 0.9544 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.7268, allocations: 0.6832 MB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.7269, allocations: 13.55 kB / 0.955 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7269, allocations: 1.125 kB / 0.955 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of Templates: time 0.002617/0.7295, allocations: 0.8282 MB / 0.9558 GB, free: 3.57 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches