Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001641/0.001641, allocations: 108 kB / 15.61 MB, free: 152 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.002063/0.002063, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 437 MB / 0.7103 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7287, allocations: 151.6 MB / 1.017 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00199/0.7307, allocations: 0.7121 MB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.7317, allocations: 0.8351 MB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.7318, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.7319, allocations: 15.86 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.918e-05/0.7319, allocations: 7.922 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.7321, allocations: 31.92 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.957e-05/0.7322, allocations: 55.78 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.7324, allocations: 23.98 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.52e-05/0.7325, allocations: 27.91 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.7325, allocations: 27.84 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.7326, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.7326, allocations: 4 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.7326, allocations: 16 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.7327, allocations: 23.86 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.7328, allocations: 69.67 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7328, allocations: 4 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7328, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7328, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 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.0005153/0.7333, allocations: 371.1 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.7334, allocations: 12.03 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.7334, allocations: 0.9375 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.7337, allocations: 192.3 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.7337, allocations: 4.375 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.7337, allocations: 4.375 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.7339, allocations: 58.23 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7339, allocations: 192 / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.7339, allocations: 3.938 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7339, allocations: 3.938 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.734, allocations: 35.91 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.7345, allocations: 300.8 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.7348, allocations: 70.53 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.7349, allocations: 20.94 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.7349, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.7349, allocations: 38.5 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.7349, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002479/0.7352, allocations: 65.67 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.7352, allocations: 51.41 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.7353, allocations: 133.7 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.7354, allocations: 25.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.7354, allocations: 92.14 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.7354, allocations: 7.891 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.7355, allocations: 21.72 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7356, allocations: 318.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.7357, allocations: 15.98 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.7357, allocations: 33.7 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.345e-05/0.7358, allocations: 28.84 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7358, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/0.736, allocations: 69.61 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.736, allocations: 8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.736, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.736, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.7361, allocations: 7.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.7361, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.7362, allocations: 20.02 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.7362, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 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.622e-05/0.7363, allocations: 113.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.7363, allocations: 7.906 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.7363, allocations: 11.89 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7363, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7363, allocations: 3.938 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.7364, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.7365, allocations: 181.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7365, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.7366, allocations: 7.984 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7366, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.7366, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7366, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7366, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.7368, allocations: 159.4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.7369, allocations: 89.02 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.7369, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.737, allocations: 7.984 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.737, allocations: 11.98 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.737, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.7371, allocations: 91.27 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7371, allocations: 3.938 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002231/0.7373, allocations: 11.94 kB / 1.022 GB, free: 13.77 MB / 0.7794 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.0001102/0.7374, allocations: 105.5 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.7376, allocations: 35.97 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7377, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.7377, allocations: 19.94 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.738, allocations: 11.92 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.7384, allocations: 155.9 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.7387, allocations: 0.6846 MB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.166e-05/0.7387, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.7388, allocations: 15.44 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7388, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.002798/0.7416, allocations: 0.7019 MB / 1.023 GB, free: 11.98 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches