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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 157.7 kB / 23.55 MB, free: 0.8672 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.926/2.926, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.835e-06/2.835e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.501e-05/3.784e-05, allocations: 3.375 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.003158/0.003196, allocations: 0.6972 MB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.005356, allocations: 0.8913 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.00542, allocations: 0 / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.005458, allocations: 3.938 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.005602, allocations: 9.344 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.005885, allocations: 31.95 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.006062, allocations: 59.73 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.006204, allocations: 23.14 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.006455, allocations: 39.89 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.892e-05/0.006554, allocations: 15.98 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.006585, allocations: 4 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.006654, allocations: 11.98 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.006689, allocations: 19.92 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.006736, allocations: 11.94 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.00698, allocations: 71.81 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.006983, allocations: 4.938 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.293e-06/0.006985, allocations: 0 / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.00699, allocations: 4 kB / 0.7882 GB, free: 10.97 MB / 0.7448 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.0008262/0.007816, allocations: 392.7 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.007868, allocations: 13.34 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.008114, allocations: 20.81 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.008493, allocations: 137.9 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.008513, allocations: 384 / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.008538, allocations: 8.375 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.008756, allocations: 50.25 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.008768, allocations: 1.75 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.008781, allocations: 4.375 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.008787, allocations: 384 / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.008971, allocations: 31.86 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.009682, allocations: 297.2 kB / 0.7891 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.01014, allocations: 72.66 kB / 0.7892 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.01024, allocations: 19.77 kB / 0.7892 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.01026, allocations: 0 / 0.7892 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.01031, allocations: 45.27 kB / 0.7892 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.01031, allocations: 0.5 kB / 0.7892 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004407/0.01075, allocations: 67.78 kB / 0.7893 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.01082, allocations: 55.39 kB / 0.7893 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.01108, allocations: 185.9 kB / 0.7895 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.01112, allocations: 25.7 kB / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.01128, allocations: 146.8 kB / 0.7897 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.01131, allocations: 4.484 kB / 0.7897 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.01139, allocations: 27.38 kB / 0.7897 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004107/0.0118, allocations: 0.493 MB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.01188, allocations: 12.44 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.01205, allocations: 70.53 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.0122, allocations: 27.67 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.0122, allocations: 0 / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003674/0.01257, allocations: 69.86 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.01259, allocations: 4.625 kB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.0126, allocations: 0.9375 kB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.01261, allocations: 0 / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.01269, allocations: 4.047 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.01271, allocations: 4.656 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-05/0.0128, allocations: 20.5 kB / 0.7904 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01281, allocations: 4 kB / 0.7904 GB, free: 8.48 MB / 0.7448 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 0.00018/0.01299, allocations: 161.7 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.01305, allocations: 7.891 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.01309, allocations: 12.84 kB / 0.7906 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01309, allocations: 0 / 0.7906 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.0131, allocations: 4.484 kB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01311, allocations: 0 / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.0134, allocations: 133.5 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.0134, allocations: 0 / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.01347, allocations: 6.094 kB / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.01347, allocations: 0 / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.0135, allocations: 11.92 kB / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.0135, allocations: 0 / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.0135, allocations: 0 / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.01387, allocations: 204.4 kB / 0.7909 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.0139, allocations: 3.953 kB / 0.7909 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.01393, allocations: 10.48 kB / 0.7909 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.01405, allocations: 4 kB / 0.7909 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.01413, allocations: 11.98 kB / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.01413, allocations: 0 / 0.791 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001627/0.0143, allocations: 143.5 kB / 0.7911 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.81e-07/0.0143, allocations: 0 / 0.7911 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004284/0.01472, allocations: 15.94 kB / 0.7911 GB, free: 7.707 MB / 0.7448 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.0001728/0.0149, allocations: 96.97 kB / 0.7912 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.01517, allocations: 39.66 kB / 0.7912 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01517, allocations: 0.5 kB / 0.7912 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.0153, allocations: 28.19 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.01571, allocations: 8.734 kB / 0.7913 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.01626, allocations: 154.6 kB / 0.7914 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.01637, allocations: 72.42 kB / 0.7915 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.078e-05/0.01643, allocations: 5.562 kB / 0.7915 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.01649, allocations: 16.5 kB / 0.7915 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01649, allocations: 3.75 kB / 0.7915 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.006259/0.02275, allocations: 0.7581 MB / 0.7923 GB, free: 6.496 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] 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: 8.066036259057]