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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001254/0.001254, allocations: 108.6 kB / 15.73 MB, free: 72 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.001454/0.001454, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.587/2.587, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 62.03 kB / 0.9508 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3143, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001961/0.3163, allocations: 0.7005 MB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3175, allocations: 0.8432 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.3176, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.537e-05/0.3177, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.3178, allocations: 11.88 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.318, allocations: 19.95 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.3181, allocations: 63.8 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.3183, allocations: 19.98 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3184, allocations: 27.86 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.954e-05/0.3185, allocations: 31.84 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.3185, allocations: 4 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.3186, allocations: 8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.3186, allocations: 11.98 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.3186, allocations: 35.8 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3188, allocations: 63.77 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3188, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3188, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3188, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 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.0005748/0.3194, allocations: 367.2 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3195, allocations: 8.031 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.3195, allocations: 12.83 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.3198, allocations: 196.2 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3198, allocations: 384 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3198, allocations: 4.375 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.32, allocations: 58.22 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.32, allocations: 192 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.32, allocations: 11.94 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.32, allocations: 3.938 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3201, allocations: 31.97 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.3206, allocations: 308.6 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.3209, allocations: 66.53 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.3209, allocations: 16.92 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.321, allocations: 8.078 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.321, allocations: 30.56 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.321, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000252/0.3213, allocations: 81.73 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.3213, allocations: 51.41 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.3214, allocations: 121.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3214, allocations: 25.7 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.3215, allocations: 96.12 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3215, allocations: 7.953 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.3216, allocations: 17.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3217, allocations: 318.8 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.3218, allocations: 15.98 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.3218, allocations: 33.7 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.554e-05/0.322, allocations: 28.81 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.322, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001325/0.3221, allocations: 65.64 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3221, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3221, allocations: 3.938 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3222, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.3222, allocations: 11.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3222, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.3223, allocations: 7.984 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3223, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 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 9.957e-05/0.3224, allocations: 122.3 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.3224, allocations: 7.953 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.3225, allocations: 7.906 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3225, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3225, allocations: 4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.3225, allocations: 3.938 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3227, allocations: 177.5 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3227, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.3228, allocations: 12 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3228, allocations: 3.984 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3228, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3228, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3228, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.323, allocations: 159.4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.323, allocations: 81.05 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3231, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.3231, allocations: 11.98 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3232, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3232, allocations: 3.984 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.3233, allocations: 99.27 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.643e-06/0.3233, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002182/0.3235, allocations: 11.94 kB / 1.092 GB, free: 12.65 MB / 0.8575 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.0001239/0.3236, allocations: 95.25 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.3238, allocations: 35.98 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3238, allocations: 0 / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.674e-05/0.3239, allocations: 16.31 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3242, allocations: 11.94 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.3246, allocations: 166.6 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.3249, allocations: 0.6885 MB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.3249, allocations: 8.078 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.325, allocations: 11.44 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.325, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of Templates: time 0.002977/0.328, allocations: 0.7028 MB / 1.094 GB, free: 10.87 MB / 0.8575 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/jenkins/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